summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-02 21:13:21 +0000
committerRoy Marples <roy@marples.name>2008-03-02 21:13:21 +0000
commita12dbdc6c93a7d63591610378e3e570b7c7d2143 (patch)
tree22cd968f4bb32bedf82e091c9ffee798d247c51e /init.d
parent7c092fbc7904be18510eed08c72cbad974db8adc (diff)
downloadopenrc-a12dbdc6c93a7d63591610378e3e570b7c7d2143.tar.gz
openrc-a12dbdc6c93a7d63591610378e3e570b7c7d2143.tar.bz2
openrc-a12dbdc6c93a7d63591610378e3e570b7c7d2143.tar.xz
Don't check for root in prefix.
Diffstat (limited to 'init.d')
-rw-r--r--[-rwxr-xr-x]init.d/bootmisc.in (renamed from init.d/bootmisc)1
-rw-r--r--init.d/fsck.in (renamed from init.d/fsck)2
-rw-r--r--[-rwxr-xr-x]init.d/hostname.in (renamed from init.d/hostname)4
-rw-r--r--[-rwxr-xr-x]init.d/local.in (renamed from init.d/local)0
-rw-r--r--[-rwxr-xr-x]init.d/localmount.in (renamed from init.d/localmount)2
-rw-r--r--[-rwxr-xr-x]init.d/netmount.in (renamed from init.d/netmount)2
-rw-r--r--init.d/root.in (renamed from init.d/root)2
-rw-r--r--init.d/swap.in (renamed from init.d/swap)2
-rw-r--r--[-rwxr-xr-x]init.d/urandom.in (renamed from init.d/urandom)2
9 files changed, 11 insertions, 6 deletions
diff --git a/init.d/bootmisc b/init.d/bootmisc.in
index a66c93f..a14a2c7 100755..100644
--- a/init.d/bootmisc
+++ b/init.d/bootmisc.in
@@ -8,6 +8,7 @@ depend()
need localmount
before logger
after clock sysctl
+ keyword noprefix
}
cleanup_tmp_dir()
diff --git a/init.d/fsck b/init.d/fsck.in
index fec912b..f34a852 100644
--- a/init.d/fsck
+++ b/init.d/fsck.in
@@ -9,7 +9,7 @@ _ISF="
depend()
{
after clock modules
- keyword nojail notimeout
+ keyword nojail noprefix notimeout
}
_abort() {
diff --git a/init.d/hostname b/init.d/hostname.in
index a777cb3..646ceb8 100755..100644
--- a/init.d/hostname
+++ b/init.d/hostname.in
@@ -4,6 +4,10 @@
description="Sets the hostname of the machine."
+depend() {
+ keyword noprefix
+}
+
start()
{
hostname=${hostname-${HOSTNAME-localhost}}
diff --git a/init.d/local b/init.d/local.in
index 9b83752..9b83752 100755..100644
--- a/init.d/local
+++ b/init.d/local.in
diff --git a/init.d/localmount b/init.d/localmount.in
index a598a71..bc16f70 100755..100644
--- a/init.d/localmount
+++ b/init.d/localmount.in
@@ -8,7 +8,7 @@ depend()
{
need fsck
use modules mtab
- keyword nojail
+ keyword nojail noprefix
}
start()
diff --git a/init.d/netmount b/init.d/netmount.in
index 688b0f4..3aa46e1 100755..100644
--- a/init.d/netmount
+++ b/init.d/netmount.in
@@ -34,7 +34,7 @@ depend()
config /etc/fstab
need net ${pmap}
use afc-client amd autofs dns nfs nfsmount portmap rpcbind rpc.statd
- keyword nojail
+ keyword nojail noprefix
}
start()
diff --git a/init.d/root b/init.d/root.in
index ff4726b..b7ffbf8 100644
--- a/init.d/root
+++ b/init.d/root.in
@@ -7,7 +7,7 @@ description="Mount the root fs read/write"
depend()
{
need fsck
- keyword nojail
+ keyword nojail noprefix
}
start()
diff --git a/init.d/swap b/init.d/swap.in
index c8b1ab8..b9f4fc9 100644
--- a/init.d/swap
+++ b/init.d/swap.in
@@ -5,7 +5,7 @@
depend()
{
need localmount
- keyword nojail
+ keyword nojail noprefix
}
start()
diff --git a/init.d/urandom b/init.d/urandom.in
index 3fc0a6d..6e90100 100755..100644
--- a/init.d/urandom
+++ b/init.d/urandom.in
@@ -9,7 +9,7 @@ description="Initializes the random number generator."
depend()
{
need localmount
- keyword nojail
+ keyword nojail noprefix
}
save_seed()