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 /rc.sysinit | |
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 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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 |