aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2013-06-29 21:37:30 (GMT)
committerAdrian C. (anrxc) <anrxc@sysphere.org>2013-06-29 21:37:30 (GMT)
commit116887f3229b1ba4728c1e76eae47981456185d9 (patch)
tree0743371ce56a0f0398f1c4d114afebc20de1f940
parentd29870ab7bcda12565dd37174a3686e16865454f (diff)
downloadinitscripts-116887f3229b1ba4728c1e76eae47981456185d9.tar.xz
initscripts: deprecate /bin as wellHEADmaster
I didn't realize earlier that /bin is going away along with /sbin and /usr/sbin.
-rw-r--r--functions2
-rwxr-xr-xrc.d2
2 files changed, 2 insertions, 2 deletions
diff --git a/functions b/functions
index ea042f5..3ad73de 100644
--- a/functions
+++ b/functions
@@ -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
diff --git a/rc.d b/rc.d
index 7175c46..0a6dbdb 100755
--- a/rc.d
+++ b/rc.d
@@ -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}"