aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/netfs
diff options
context:
space:
mode:
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
-