aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/functions3
-rwxr-xr-xrc.d/init.d/halt3
-rwxr-xr-xrc.d/init.d/single2
3 files changed, 2 insertions, 6 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 0392f5e0..9545ff32 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -19,7 +19,8 @@ TEXTDOMAINDIR=/etc/locale
umask 022
# First set up a default search path.
-export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
+PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
+export PATH
# Get a sane screen width
[ -z "${COLUMNS:-}" ] && COLUMNS=80
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index ac25bb6f..1e96ebd5 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -8,9 +8,6 @@
# Modified for RHS Linux by Damien Neil
#
-# Set the path.
-PATH=/sbin:/bin:/usr/bin:/usr/sbin
-
NOLOCALE=1
. /etc/init.d/functions
diff --git a/rc.d/init.d/single b/rc.d/init.d/single
index 03be8134..51459e64 100755
--- a/rc.d/init.d/single
+++ b/rc.d/init.d/single
@@ -10,8 +10,6 @@
# Modified for RHS Linux by Damien Neil
#
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-
. /etc/rc.d/init.d/functions
if [ "$1" != "start" ] ; then