projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix quilt variable and stampfile usage for host builds
[openwrt.git]
/
package
/
base-files
/
files
/
etc
/
init.d
/
fstab
diff --git
a/package/base-files/files/etc/init.d/fstab
b/package/base-files/files/etc/init.d/fstab
index
cca8761
..
840350c
100755
(executable)
--- a/
package/base-files/files/etc/init.d/fstab
+++ b/
package/base-files/files/etc/init.d/fstab
@@
-55,12
+55,13
@@
start() {
config_foreach do_mount mount
config_foreach do_swapon swap
mount -a
- swapon -a
+
[ -x /sbin/swapon ] &&
swapon -a
}
stop() {
config_load fstab
config_foreach do_unmount mount
config_foreach do_swapoff swap
+ [ -x /sbin/swapoff ] && swapoff -a
}
This page took
0.021831 seconds
and
4
git commands to generate.