diff options
author | Eun-Ju KIm <eukim@redhat.com> | 2008-05-09 03:16:09 +0000 |
---|---|---|
committer | Eun-Ju KIm <eukim@redhat.com> | 2008-05-09 03:16:09 +0000 |
commit | 20ae37592f30516cb23d138ff2d60cdc3f490723 (patch) | |
tree | 7a062d877a43e57a1d26bb737e0dadb6a51f6b3f /rc.d/init.d | |
parent | 1bd1096da0802b74cf738c7dab22667abf951c97 (diff) | |
parent | 73a91036b96450f976c5e45d3478d4b6f905c79a (diff) | |
download | initscripts-20ae37592f30516cb23d138ff2d60cdc3f490723.tar initscripts-20ae37592f30516cb23d138ff2d60cdc3f490723.tar.gz initscripts-20ae37592f30516cb23d138ff2d60cdc3f490723.tar.bz2 initscripts-20ae37592f30516cb23d138ff2d60cdc3f490723.tar.xz initscripts-20ae37592f30516cb23d138ff2d60cdc3f490723.zip |
Merge branch 'master' of ssh://git.fedorahosted.org/git/initscripts
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-x | rc.d/init.d/netfs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index 6769c132..1ad100bb 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -17,9 +17,6 @@ . /etc/init.d/functions . /etc/sysconfig/network -# Check that networking is up. -[ "${NETWORKING}" = "no" ] && exit 0 - NFSFSTAB=`LC_ALL=C awk '!/^#/ && $3 ~ /^nfs/ && $3 != "nfsd" && $4 !~ /noauto/ { print $2 }' /etc/fstab` SMBFSTAB=`LC_ALL=C awk '!/^#/ && $3 == "smbfs" && $4 !~ /noauto/ { print $2 }' /etc/fstab` CIFSFSTAB=`LC_ALL=C awk '!/^#/ && $3 == "cifs" && $4 !~ /noauto/ { print $2 }' /etc/fstab` @@ -35,6 +32,7 @@ NETDEVMTAB=`LC_ALL=C awk '$4 ~ /_netdev/ && $2 != "/" { print $2 }' /etc/mtab` # See how we were called. case "$1" in start) + [ ! -f /var/lock/subsys/network -a ! -f /var/lock/subsys/NetworkManager ] && exit 0 [ -n "$NFSFSTAB" ] && { [ ! -f /var/lock/subsys/rpcbind ] && service rpcbind start |