projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
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
fb2f2a7
..
89b985e
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