From ad1713018daa1905908c7e26bfa976eff3a8459f Mon Sep 17 00:00:00 2001 From: "Kurt J. Bosch" Date: Sat, 25 Jun 2011 12:02:01 +0200 Subject: Move export PATH into functions Also sanitze the PATH for rc.single, rc.multi, rc.local and daemons. --- rc.shutdown | 2 -- 1 file changed, 2 deletions(-) (limited to 'rc.shutdown') 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 -- cgit v1.2.3