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/base-files/files | |
parent | 863afccae82eba557fb26ac46deb7de9881b113b (diff) | |
download | master-31e0f0ae-b73eedd62bfbe7513a3c3eb7121774267f4c7067.tar.gz master-31e0f0ae-b73eedd62bfbe7513a3c3eb7121774267f4c7067.tar.bz2 master-31e0f0ae-b73eedd62bfbe7513a3c3eb7121774267f4c7067.zip |
work aroung error message during boot if swapon is nt installed
SVN-Revision: 12087
Diffstat (limited to 'package/base-files/files')
-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 cca8761996..b7cc209d13 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() { |