diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2013-06-10 13:29:15 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2013-06-10 13:29:15 +0200 |
commit | 5e868fdde66452c11453a207954e6864fdb255ba (patch) | |
tree | ca5d15cb66ee39ac042d5586bdd2f0d782c9fa22 /rc.d | |
parent | 1a2aaac3ed0e76c113a852265c73597519dac68f (diff) | |
download | initscripts-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-x | rc.d | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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}" |