From 116887f3229b1ba4728c1e76eae47981456185d9 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Sat, 29 Jun 2013 23:37:30 +0200 Subject: initscripts: deprecate /bin as well I didn't realize earlier that /bin is going away along with /sbin and /usr/sbin. --- functions | 2 +- rc.d | 2 +- 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}" -- cgit v1.2.3