summaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
authorKurt J. Bosch <kjb-temp-2009@alpenjodel.de>2011-06-25 12:02:01 +0200
committerKurt J. Bosch <kjb-temp-2009@alpenjodel.de>2011-06-28 15:39:42 +0200
commitad1713018daa1905908c7e26bfa976eff3a8459f (patch)
tree8d74287dcd6d1e0b7ef3a5a59ca575333be769c3 /rc.shutdown
parente408a6177eadc6db5f64333cb6fb34c533f7f230 (diff)
Move export PATH into functions
Also sanitze the PATH for rc.single, rc.multi, rc.local and daemons.
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown2
1 files changed, 0 insertions, 2 deletions
diff --git a/rc.shutdown b/rc.shutdown
index 6d43229..fe42797 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -6,8 +6,6 @@
. /etc/rc.conf
. /etc/rc.d/functions
-export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
-
run_hook shutdown_start
# avoid staircase effect