chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8448b7c
)
firmware.sh: remove needless '/'
author
Kay Sievers
<kay.sievers@suse.de>
Tue, 11 Jul 2006 12:16:59 +0000
(14:16 +0200)
committer
Kay Sievers
<kay.sievers@suse.de>
Tue, 11 Jul 2006 12:16:59 +0000
(14:16 +0200)
extras/firmware/firmware.sh
patch
|
blob
|
history
diff --git
a/extras/firmware/firmware.sh
b/extras/firmware/firmware.sh
index fb2f2a792d6acd64524b5dd424c62e5d308c2baf..89b985ef3b59042b0e839b933f6edffd855fd158 100755
(executable)
--- 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