summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-07-11 14:16:59 +0200
committerKay Sievers <kay.sievers@suse.de>2006-07-11 14:16:59 +0200
commitf566b05b572492e4e7a684a5b04231412d71d0bd (patch)
treed489f19e7e5393ed7330b5e0c018cc4240e7149c /extras
parent8448b7cea0c4e6b7d394c889be6ef4ae09a7ad2b (diff)
firmware.sh: remove needless '/'
Diffstat (limited to 'extras')
-rwxr-xr-xextras/firmware/firmware.sh8
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