From 4b23ce56fb9035cc129d96b1ffe85d40c53dc5f6 Mon Sep 17 00:00:00 2001 From: Florian La Roche Date: Wed, 26 Jun 2002 09:20:01 +0000 Subject: - further cleanups --- rc.d/init.d/rawdevices | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'rc.d/init.d/rawdevices') diff --git a/rc.d/init.d/rawdevices b/rc.d/init.d/rawdevices index 1bde3233..2d9d2cfb 100755 --- a/rc.d/init.d/rawdevices +++ b/rc.d/init.d/rawdevices @@ -10,18 +10,14 @@ # the file /etc/sysconfig/rawdevices. # config: /etc/sysconfig/rawdevices -# Source function library. -. /etc/init.d/functions - -TEXTDOMAIN=initscripts +PATH=/usr/bin:/bin:/usr/sbin:/sbin [ -f /usr/bin/raw ] || exit 0 [ -f /etc/sysconfig/rawdevices ] || exit 0 - -# If the file just has the default comments, exit. +# Exit if the file just has the default comments. grep -q -v "^#" /etc/sysconfig/rawdevices 2>/dev/null || exit 0 -PATH=/usr/bin:/bin:/usr/sbin:/sbin +. /etc/init.d/functions function assign_raw() { -- cgit v1.2.1