summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-19 14:15:53 +0000
committerRoy Marples <roy@marples.name>2008-02-19 14:15:53 +0000
commit0364bb2c84bff631e0f765254fc6bf3353950128 (patch)
tree532aa8d419a4647f4ee5134256c75e228b06278e /init.d
parentf95e0b2c3e0192b44d6ac792f40a61a34f8c8b13 (diff)
downloadopenrc-0364bb2c84bff631e0f765254fc6bf3353950128.tar.gz
openrc-0364bb2c84bff631e0f765254fc6bf3353950128.tar.bz2
openrc-0364bb2c84bff631e0f765254fc6bf3353950128.tar.xz
Add the nojail keyword which excludes services marked as such from the dependency tree when in a jail, #bug 22
Diffstat (limited to 'init.d')
-rw-r--r--init.d/fsck2
-rwxr-xr-xinit.d/localmount1
-rwxr-xr-xinit.d/netmount1
-rw-r--r--init.d/root1
-rw-r--r--init.d/swap1
-rwxr-xr-xinit.d/urandom1
6 files changed, 6 insertions, 1 deletions
diff --git a/init.d/fsck b/init.d/fsck
index 3ee3b38..4c184cf 100644
--- a/init.d/fsck
+++ b/init.d/fsck
@@ -7,7 +7,7 @@ description="Check and repair filesystems according to /etc/fstab"
depend()
{
after clock modules
- keywords notimeout
+ keywords nojail notimeout
}
start()
diff --git a/init.d/localmount b/init.d/localmount
index 5b8e849..999fa07 100755
--- a/init.d/localmount
+++ b/init.d/localmount
@@ -8,6 +8,7 @@ depend()
{
need fsck
use modules mtab
+ keywords nojail
}
start()
diff --git a/init.d/netmount b/init.d/netmount
index dd149a9..bb97d88 100755
--- a/init.d/netmount
+++ b/init.d/netmount
@@ -34,6 +34,7 @@ depend()
config /etc/fstab
need net ${pmap}
use afc-client amd autofs dns nfs nfsmount portmap rpcbind rpc.statd
+ keywords nojail
}
start()
diff --git a/init.d/root b/init.d/root
index fa20ebd..948826e 100644
--- a/init.d/root
+++ b/init.d/root
@@ -7,6 +7,7 @@ description="Mount the root fs read/write"
depend()
{
need fsck
+ keywords nojail
}
start()
diff --git a/init.d/swap b/init.d/swap
index 53cf45c..c11abb5 100644
--- a/init.d/swap
+++ b/init.d/swap
@@ -5,6 +5,7 @@
depend()
{
need localmount
+ keywords nojail
}
start()
diff --git a/init.d/urandom b/init.d/urandom
index d02c66d..bc1e7b7 100755
--- a/init.d/urandom
+++ b/init.d/urandom
@@ -9,6 +9,7 @@ description="Initializes the random number generator."
depend()
{
need localmount
+ keywords nojail
}
save_seed()