diff options
author | Florian La Roche <laroche@redhat.com> | 2002-06-26 09:20:01 +0000 |
---|---|---|
committer | Florian La Roche <laroche@redhat.com> | 2002-06-26 09:20:01 +0000 |
commit | 4b23ce56fb9035cc129d96b1ffe85d40c53dc5f6 (patch) | |
tree | 0ab8b4cdcb4aef2a9f630fd645ddd31e29bb3cf9 /rc.d/init.d/rawdevices | |
parent | 39aa2c790f150cfc31fd59028c9cc397a7b9c8c9 (diff) | |
download | initscripts-4b23ce56fb9035cc129d96b1ffe85d40c53dc5f6.tar initscripts-4b23ce56fb9035cc129d96b1ffe85d40c53dc5f6.tar.gz initscripts-4b23ce56fb9035cc129d96b1ffe85d40c53dc5f6.tar.bz2 initscripts-4b23ce56fb9035cc129d96b1ffe85d40c53dc5f6.tar.xz initscripts-4b23ce56fb9035cc129d96b1ffe85d40c53dc5f6.zip |
- further cleanups
Diffstat (limited to 'rc.d/init.d/rawdevices')
-rwxr-xr-x | rc.d/init.d/rawdevices | 10 |
1 files changed, 3 insertions, 7 deletions
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() { |