diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-07-11 14:16:59 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-07-11 14:16:59 +0200 |
commit | f566b05b572492e4e7a684a5b04231412d71d0bd (patch) | |
tree | d489f19e7e5393ed7330b5e0c018cc4240e7149c | |
parent | 8448b7cea0c4e6b7d394c889be6ef4ae09a7ad2b (diff) |
firmware.sh: remove needless '/'
-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 |