aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/netfs
diff options
context:
space:
mode:
authorFlorian La Roche <laroche@redhat.com>2002-06-26 09:20:01 +0000
committerFlorian La Roche <laroche@redhat.com>2002-06-26 09:20:01 +0000
commit4b23ce56fb9035cc129d96b1ffe85d40c53dc5f6 (patch)
tree0ab8b4cdcb4aef2a9f630fd645ddd31e29bb3cf9 /rc.d/init.d/netfs
parent39aa2c790f150cfc31fd59028c9cc397a7b9c8c9 (diff)
downloadinitscripts-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/netfs')
-rwxr-xr-xrc.d/init.d/netfs9
1 files changed, 1 insertions, 8 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index 2f327a14..15ea6580 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -12,14 +12,8 @@
# Provides: $local_fs $remote_fs
### END INIT INFO
-# Source networking configuration.
-if [ ! -f /etc/sysconfig/network ]; then
- exit 0
-fi
-
-# Source function library.
+[ -f /etc/sysconfig/network ] || exit 0
. /etc/init.d/functions
-
. /etc/sysconfig/network
# Check that networking is up.
@@ -160,4 +154,3 @@ case "$1" in
esac
exit 0
-