]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
As we don't source functions, we must set sane PATH to ensure security
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 7 Dec 2006 21:32:50 +0000 (21:32 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Thu, 7 Dec 2006 21:32:50 +0000 (21:32 +0000)
svn-id: @8079

rc.d/init.d/killall

index 18ff2e1f89bbd2cb2e55fe0d5ff6dc26afd395e8..5318ec7b8e1f3c77a080ce5d449efcc7e088c439 100644 (file)
@@ -8,6 +8,9 @@
 # Bring down all unneeded services that are still running (there shouldn't
 # be any, so this is just a sanity check)
 
+# First set up a default search path.
+export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
+
 case "$1" in
   start*)
        exit 0
This page took 0.04097 seconds and 4 git commands to generate.