diff options
author | John Crispin <john@openwrt.org> | 2008-08-04 08:50:16 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2008-08-04 08:50:16 +0000 |
commit | b73eedd62bfbe7513a3c3eb7121774267f4c7067 (patch) | |
tree | 7ef6d366ea7259deedab3ecebbe3bb6eec487cb4 /package | |
parent | 863afccae82eba557fb26ac46deb7de9881b113b (diff) | |
download | mtk-20170518-b73eedd62bfbe7513a3c3eb7121774267f4c7067.zip mtk-20170518-b73eedd62bfbe7513a3c3eb7121774267f4c7067.tar.gz mtk-20170518-b73eedd62bfbe7513a3c3eb7121774267f4c7067.tar.bz2 |
work aroung error message during boot if swapon is nt installed
SVN-Revision: 12087
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/files/etc/init.d/fstab | 2 |
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 cca8761..b7cc209 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() { |