summaryrefslogtreecommitdiff
path: root/package/block-mount/files/fstab.init
diff options
context:
space:
mode:
authorDaniel Dickinson <crazycshore@gmail.com>2010-07-12 17:28:50 +0000
committerDaniel Dickinson <crazycshore@gmail.com>2010-07-12 17:28:50 +0000
commitb9dfb5d4832cb26f7f6db37c67b68aff28014d97 (patch)
tree07b9a8dc831255365cf976cb57e8e34d83846682 /package/block-mount/files/fstab.init
parent117590a2ce8ffc8161aafce06164e02d1f34157e (diff)
downloadmtk-20170518-b9dfb5d4832cb26f7f6db37c67b68aff28014d97.zip
mtk-20170518-b9dfb5d4832cb26f7f6db37c67b68aff28014d97.tar.gz
mtk-20170518-b9dfb5d4832cb26f7f6db37c67b68aff28014d97.tar.bz2
block-mount: Attempt swapon a after mounting as well as before. This ensures that swap on a filesystem is enabled.
SVN-Revision: 22150
Diffstat (limited to 'package/block-mount/files/fstab.init')
-rw-r--r--package/block-mount/files/fstab.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/block-mount/files/fstab.init b/package/block-mount/files/fstab.init
index fdcd4f5..6aeee8f 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() {