aboutsummaryrefslogtreecommitdiff
path: root/rc.d
diff options
context:
space:
mode:
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}"