summaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/etc/init.d/fstab2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/init.d/fstab b/package/base-files/files/etc/init.d/fstab
index cca876199..b7cc209d1 100755
--- 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() {