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/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