From 5e868fdde66452c11453a207954e6864fdb255ba Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Mon, 10 Jun 2013 13:29:15 +0200 Subject: initscripts: deprecate /sbin and /usr/sbin Arch Linux has unified /sbin and /usr/sbin into a single binaries directory: /usr/bin --- rc.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc.d') 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}" -- cgit v1.2.3