diff options
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}" |