Change Details
| nanonote-files/data/qi_lb60/scripts/reflash_ben.sh |
| 30 | 30 | case $OPTIONS in |
| 31 | 31 | d) |
| 32 | 32 | VERSION=$OPTARG # override version by first argument if passed |
| 33 | WORKING_DIR="${HOME}/.qi/nanonote/ben/${VERSION}" |
| 33 | 34 | ;; |
| 34 | 35 | l) |
| 35 | | WORKING_DIR=$OPTARG |
| 36 | 36 | PROTOCOL="file" |
| 37 | | VERSION="Local" |
| 37 | VERSION="local" |
| 38 | WORKING_DIR=$OPTARG |
| 38 | 39 | ;; |
| 39 | 40 | b) |
| 40 | 41 | ALL="FALSE" |
| ... | ... | |
| 143 | 144 | cat "${LOG_FILE}.err" >> "${LOG_FILE}" |
| 144 | 145 | } |
| 145 | 146 | |
| 146 | | [ "$(whoami)" == "root" ] || abort "this script must be run as root" |
| 147 | | |
| 148 | 147 | log "working dir: ${WORKING_DIR}" |
| 149 | 148 | log "chosen method: ${PROTOCOL}" |
| 150 | 149 | test ${VERSION} && log "chosen version: ${VERSION}" |
Download the corresponding diff file