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.sysinit | 3 --- 1 file changed, 3 deletions(-) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index b34d4ad..89cbd55 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -13,9 +13,6 @@ printsep run_hook sysinit_start -# export standard 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" - # mount /proc, /sys, /run, /dev, /run/lock, /dev/pts, /dev/shm (the api filesystems) mountpoint -q /proc || mount -n -t proc proc /proc -o nosuid,noexec,nodev mountpoint -q /sys || mount -n -t sysfs sys /sys -o nosuid,noexec,nodev -- cgit v1.2.3