From: Daniel Dickinson Date: Mon, 12 Jul 2010 17:28:50 +0000 (+0000) Subject: block-mount: Attempt swapon a after mounting as well as before. This ensures that... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b9dfb5d4832cb26f7f6db37c67b68aff28014d97;p=openwrt%2Fstaging%2Fluka.git block-mount: Attempt swapon a after mounting as well as before. This ensures that swap on a filesystem is enabled. SVN-Revision: 22150 --- diff --git a/package/block-mount/files/fstab.init b/package/block-mount/files/fstab.init index fdcd4f52a2..6aeee8f340 100644 --- a/package/block-mount/files/fstab.init +++ b/package/block-mount/files/fstab.init @@ -50,6 +50,7 @@ start() { } config_foreach do_swapon swap config_foreach do_mount mount + config_foreach do_swapon swap # do swap a second time so that swap on filesystems is enabled } stop() {