aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorFlorian La Roche <laroche@redhat.com>2002-06-26 09:34:04 +0000
committerFlorian La Roche <laroche@redhat.com>2002-06-26 09:34:04 +0000
commitef532cbd4317a6ecf56d894d4f1532aca2b8463e (patch)
treef08e63bf47c86fbe057a75134608fc739ba7f188 /rc.d/init.d
parent8136980283f7c19d4e5069ad7b2cfe7e63865dfa (diff)
downloadinitscripts-ef532cbd4317a6ecf56d894d4f1532aca2b8463e.tar
initscripts-ef532cbd4317a6ecf56d894d4f1532aca2b8463e.tar.gz
initscripts-ef532cbd4317a6ecf56d894d4f1532aca2b8463e.tar.bz2
initscripts-ef532cbd4317a6ecf56d894d4f1532aca2b8463e.tar.xz
initscripts-ef532cbd4317a6ecf56d894d4f1532aca2b8463e.zip
- further eliminate PATH settings
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/rawdevices4
1 files changed, 1 insertions, 3 deletions
diff --git a/rc.d/init.d/rawdevices b/rc.d/init.d/rawdevices
index 2d9d2cfb..b55fa14f 100755
--- a/rc.d/init.d/rawdevices
+++ b/rc.d/init.d/rawdevices
@@ -10,12 +10,10 @@
# the file /etc/sysconfig/rawdevices.
# config: /etc/sysconfig/rawdevices
-PATH=/usr/bin:/bin:/usr/sbin:/sbin
-
[ -f /usr/bin/raw ] || exit 0
[ -f /etc/sysconfig/rawdevices ] || exit 0
# Exit if the file just has the default comments.
-grep -q -v "^#" /etc/sysconfig/rawdevices 2>/dev/null || exit 0
+/bin/grep -q -v "^#" /etc/sysconfig/rawdevices 2>/dev/null || exit 0
. /etc/init.d/functions