diff options
-rwxr-xr-x | extras/firmware/firmware.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extras/firmware/firmware.sh b/extras/firmware/firmware.sh index fb2f2a792d..89b985ef3b 100755 --- a/extras/firmware/firmware.sh +++ b/extras/firmware/firmware.sh @@ -16,12 +16,12 @@ fi for DIR in $FIRMWARE_DIRS; do [ -e "$DIR/$FIRMWARE" ] || continue - echo 1 > /sys/$DEVPATH/loading - cat "$DIR/$FIRMWARE" > /sys/$DEVPATH/data - echo 0 > /sys/$DEVPATH/loading + echo 1 > /sys$DEVPATH/loading + cat "$DIR/$FIRMWARE" > /sys$DEVPATH/data + echo 0 > /sys$DEVPATH/loading exit 0 done -echo -1 > /sys/$DEVPATH/loading +echo -1 > /sys$DEVPATH/loading err "Cannot find firmware file '$FIRMWARE'" exit 1 |