projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
863afcc
)
work aroung error message during boot if swapon is nt installed
author
John Crispin
<john@openwrt.org>
Mon, 4 Aug 2008 08:50:16 +0000
(08:50 +0000)
committer
John Crispin
<john@openwrt.org>
Mon, 4 Aug 2008 08:50:16 +0000
(08:50 +0000)
SVN-Revision: 12087
package/base-files/files/etc/init.d/fstab
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/init.d/fstab
b/package/base-files/files/etc/init.d/fstab
index cca8761996340902a7def7e606b73803cd8b909e..b7cc209d1316d21a7816a26cd00863609ebc2fe0 100755
(executable)
--- a/
package/base-files/files/etc/init.d/fstab
+++ b/
package/base-files/files/etc/init.d/fstab
@@
-55,7
+55,7
@@
start() {
config_foreach do_mount mount
config_foreach do_swapon swap
mount -a
- swapon -a
+
[ -x /sbin/swapon ] &&
swapon -a
}
stop() {