From ef532cbd4317a6ecf56d894d4f1532aca2b8463e Mon Sep 17 00:00:00 2001 From: Florian La Roche Date: Wed, 26 Jun 2002 09:34:04 +0000 Subject: - further eliminate PATH settings --- rc.d/init.d/rawdevices | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'rc.d/init.d/rawdevices') 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 -- cgit v1.2.1