summaryrefslogtreecommitdiff
path: root/init.d
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
parentec912fa7174b8984cb8c8b3dd19a163686b1f8c1 (diff)
downloadopenrc-148739ed995876402301e37b512d79c6cb3a2fbe.tar.gz
openrc-148739ed995876402301e37b512d79c6cb3a2fbe.tar.bz2
openrc-148739ed995876402301e37b512d79c6cb3a2fbe.tar.xz
Swap may need local mounts
Diffstat (limited to 'init.d')
-rw-r--r--init.d/fsck1
-rw-r--r--init.d/swap4
2 files changed, 4 insertions, 1 deletions
diff --git a/init.d/fsck b/init.d/fsck
index 4da48b9..d4aa0a7 100644
--- a/init.d/fsck
+++ b/init.d/fsck
@@ -6,7 +6,6 @@ description="Check and repair filesystems according to /etc/fstab"
depend()
{
- need swap
after clock modules
keywords notimeout
}
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"