diff options
author | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-06-25 12:02:01 +0200 |
---|---|---|
committer | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-06-28 15:39:42 +0200 |
commit | ad1713018daa1905908c7e26bfa976eff3a8459f (patch) | |
tree | 8d74287dcd6d1e0b7ef3a5a59ca575333be769c3 /functions | |
parent | e408a6177eadc6db5f64333cb6fb34c533f7f230 (diff) | |
download | initscripts-ad1713018daa1905908c7e26bfa976eff3a8459f.tar.xz |
Move export PATH into functions
Also sanitze the PATH for rc.single, rc.multi, rc.local and daemons.
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,7 +2,8 @@ # initscripts functions # -# width: +# sanitize PATH (will be overridden later when /etc/profile is sourced, but is useful for UDev) +export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" if [[ $1 == "start" ]]; then if [[ $STARTING ]]; then @@ -12,6 +13,7 @@ if [[ $1 == "start" ]]; then fi fi +# width: calc_columns () { STAT_COL=80 if [[ ! -t 1 ]]; then |