summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-19 17:11:50 +0000
committerRoy Marples <roy@marples.name>2008-03-19 17:11:50 +0000
commitd9ec62b22a8ccfebda4af34d8319b33a8a5e3bbb (patch)
tree1ee06a122011bd5347ed1dac292e1408178cceb0 /sh
parent089caec283e1e1b39767abf9cb355f47ee6daca6 (diff)
downloadopenrc-d9ec62b22a8ccfebda4af34d8319b33a8a5e3bbb.tar.gz
openrc-d9ec62b22a8ccfebda4af34d8319b33a8a5e3bbb.tar.bz2
openrc-d9ec62b22a8ccfebda4af34d8319b33a8a5e3bbb.tar.xz
Add rc-service and update all softlevel refs to runlevel.
Diffstat (limited to 'sh')
-rw-r--r--sh/runscript.sh.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in
index be69bb9..0df0aa0 100644
--- a/sh/runscript.sh.in
+++ b/sh/runscript.sh.in
@@ -47,8 +47,8 @@ _conf_d=${1%/*}/../conf.d
# If we're net.eth0 or openvpn.work then load net or openvpn config
_c=${SVCNAME%%.*}
if [ -n "${_c}" -a "${_c}" != "${SVCNAME}" ]; then
- if [ -e "${_conf_d}/${_c}.${RC_SOFTLEVEL}" ]; then
- . "${_conf_d}/${_c}.${RC_SOFTLEVEL}"
+ if [ -e "${_conf_d}/${_c}.${RC_RUNLEVEL}" ]; then
+ . "${_conf_d}/${_c}.${RC_RUNLEVEL}"
elif [ -e "${_conf_d}/${_c}" ]; then
. "${_conf_d}//${_c}"
fi
@@ -56,8 +56,8 @@ fi
unset _c
# Overlay with our specific config
-if [ -e "${_conf_d}/${SVCNAME}.${RC_SOFTLEVEL}" ]; then
- . "${_conf_d}/${SVCNAME}.${RC_SOFTLEVEL}"
+if [ -e "${_conf_d}/${SVCNAME}.${RC_RUNLEVEL}" ]; then
+ . "${_conf_d}/${SVCNAME}.${RC_RUNLEVEL}"
elif [ -e "${_conf_d}/${SVCNAME}" ]; then
. "${_conf_d}/${SVCNAME}"
fi