X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f2260a8a855446efbae6eb52d121fcc0e7db7b99..efd888e4be8c8b29a77a06a7e6ae1318badf9719:/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 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() {