aboutsummaryrefslogtreecommitdiff
path: root/rc.d
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2013-06-10 13:29:15 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2013-06-10 13:29:15 +0200
commit5e868fdde66452c11453a207954e6864fdb255ba (patch)
treeca5d15cb66ee39ac042d5586bdd2f0d782c9fa22 /rc.d
parent1a2aaac3ed0e76c113a852265c73597519dac68f (diff)
downloadinitscripts-2013.06.2.tar.xz
initscripts: deprecate /sbin and /usr/sbin2013.06.2
Arch Linux has unified /sbin and /usr/sbin into a single binaries directory: /usr/bin
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d b/rc.d
index 77852d7..7175c46 100755
--- a/rc.d
+++ b/rc.d
@@ -115,8 +115,8 @@ case $action in
[[ -z $daemons ]] && usage
filter_daemons
# set same environment variables as init
- runlevel=$(/sbin/runlevel)
- ENV=('PATH=/bin:/usr/bin:/sbin:/usr/sbin'
+ runlevel=$(/usr/bin/runlevel)
+ ENV=('PATH=/bin:/usr/bin'
"PREVLEVEL=${runlevel%% *}"
"RUNLEVEL=${runlevel##* }"
"CONSOLE=${CONSOLE:-/dev/console}"