summaryrefslogtreecommitdiff
path: root/init.d/swap
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-01 09:29:26 +0000
committerRoy Marples <roy@marples.name>2008-02-01 09:29:26 +0000
commit148739ed995876402301e37b512d79c6cb3a2fbe (patch)
tree0aa9551b3c4559dc2c50fcb0b056606612591d23 /init.d/swap
parentec912fa7174b8984cb8c8b3dd19a163686b1f8c1 (diff)
downloadopenrc-148739ed995876402301e37b512d79c6cb3a2fbe.tar.gz
openrc-148739ed995876402301e37b512d79c6cb3a2fbe.tar.bz2
openrc-148739ed995876402301e37b512d79c6cb3a2fbe.tar.xz
Swap may need local mounts
Diffstat (limited to 'init.d/swap')
-rw-r--r--init.d/swap4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.d/swap b/init.d/swap
index 8e7d42f..2037f6c 100644
--- a/init.d/swap
+++ b/init.d/swap
@@ -2,6 +2,10 @@
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
+depend() {
+ need localmount
+}
+
start()
{
ebegin "Activating swap"