diff options
author | Roy Marples <roy@marples.name> | 2008-02-19 14:15:53 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-02-19 14:15:53 +0000 |
commit | 0364bb2c84bff631e0f765254fc6bf3353950128 (patch) | |
tree | 532aa8d419a4647f4ee5134256c75e228b06278e /init.d | |
parent | f95e0b2c3e0192b44d6ac792f40a61a34f8c8b13 (diff) |
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/fsck | 2 | ||||
-rwxr-xr-x | init.d/localmount | 1 | ||||
-rwxr-xr-x | init.d/netmount | 1 | ||||
-rw-r--r-- | init.d/root | 1 | ||||
-rw-r--r-- | init.d/swap | 1 | ||||
-rwxr-xr-x | init.d/urandom | 1 |
6 files changed, 6 insertions, 1 deletions
diff --git a/init.d/fsck b/init.d/fsck index 3ee3b38b..4c184cf2 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 5b8e849c..999fa076 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 dd149a96..bb97d88a 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 fa20ebd8..948826e5 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 53cf45c6..c11abb55 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 d02c66d0..bc1e7b7d 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() |