diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2013-06-29 23:37:30 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2013-06-29 23:37:30 +0200 |
commit | 116887f3229b1ba4728c1e76eae47981456185d9 (patch) | |
tree | 0743371ce56a0f0398f1c4d114afebc20de1f940 | |
parent | d29870ab7bcda12565dd37174a3686e16865454f (diff) | |
download | initscripts-master.tar.xz |
I didn't realize earlier that /bin is going away along with /sbin and
/usr/sbin.
-rw-r--r-- | functions | 2 | ||||
-rwxr-xr-x | rc.d | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ # # sanitize PATH (will be overridden later when /etc/profile is sourced but is useful for udev) -export PATH="/usr/local/bin:/usr/bin:/bin" +export PATH="/usr/local/bin:/usr/bin" # clear the TZ envvar, so daemons always respect /etc/localtime unset TZ @@ -116,7 +116,7 @@ case $action in filter_daemons # set same environment variables as init runlevel=$(/usr/bin/runlevel) - ENV=('PATH=/bin:/usr/bin' + ENV=('PATH=/usr/bin' "PREVLEVEL=${runlevel%% *}" "RUNLEVEL=${runlevel##* }" "CONSOLE=${CONSOLE:-/dev/console}" |