chiark / gitweb /
firmware.sh: remove needless '/'
authorKay Sievers <kay.sievers@suse.de>
Tue, 11 Jul 2006 12:16:59 +0000 (14:16 +0200)
committerKay Sievers <kay.sievers@suse.de>
Tue, 11 Jul 2006 12:16:59 +0000 (14:16 +0200)
extras/firmware/firmware.sh

index fb2f2a7..89b985e 100755 (executable)
@@ -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