git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c541bf
)
SlugOS: slugos-init/files/functions -- fix spurious shell error message
author
Mike Westerhof
<mwester@dls.net>
Sun, 13 Feb 2011 17:06:30 +0000
(11:06 -0600)
committer
Mike Westerhof
<mwester@dls.net>
Sun, 13 Feb 2011 17:06:30 +0000
(11:06 -0600)
Fixes spurious message "bad number" from /bin/sh on initial boot.
recipes/slugos-init/files/functions
patch
|
blob
|
history
diff --git
a/recipes/slugos-init/files/functions
b/recipes/slugos-init/files/functions
index
38a3b4d
..
dcb7445
100644
(file)
--- a/
recipes/slugos-init/files/functions
+++ b/
recipes/slugos-init/files/functions
@@
-394,7
+394,7
@@
umountflash(){
# the flash root partition we know a file which must exist...
case "$mp/$type" in
//jffs2);; # skip /
- */jffs2)test "$(devio "<<$mp/etc/init.d/sysconfsetup" prd 2>/dev/null)"
-ne
"$ffsno" ||
+ */jffs2)test "$(devio "<<$mp/etc/init.d/sysconfsetup" prd 2>/dev/null)"
!=
"$ffsno" ||
umount "$mp" || {
echo "$0: $mp: unable to umount $ffsdev" >&2
return 1