diff options
author | Florian La Roche <laroche@redhat.com> | 2002-06-26 09:27:30 +0000 |
---|---|---|
committer | Florian La Roche <laroche@redhat.com> | 2002-06-26 09:27:30 +0000 |
commit | 8136980283f7c19d4e5069ad7b2cfe7e63865dfa (patch) | |
tree | 47075d4922d151e1e741f4ca939bb6740ba0d75d /rc.d | |
parent | 4b23ce56fb9035cc129d96b1ffe85d40c53dc5f6 (diff) | |
download | initscripts-8136980283f7c19d4e5069ad7b2cfe7e63865dfa.tar initscripts-8136980283f7c19d4e5069ad7b2cfe7e63865dfa.tar.gz initscripts-8136980283f7c19d4e5069ad7b2cfe7e63865dfa.tar.bz2 initscripts-8136980283f7c19d4e5069ad7b2cfe7e63865dfa.tar.xz initscripts-8136980283f7c19d4e5069ad7b2cfe7e63865dfa.zip |
- PATH is set in init.d/functions, no need to set it separately
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/functions | 3 | ||||
-rwxr-xr-x | rc.d/init.d/halt | 3 | ||||
-rwxr-xr-x | rc.d/init.d/single | 2 |
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 |