diff options
author | Bill Nottingham <notting@redhat.com> | 2010-05-13 16:18:51 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-05-13 16:18:51 -0400 |
commit | c27b7f0978cc3bf809667d7cad1d75b8d2e55134 (patch) | |
tree | b652f5a41aa1cdc1ff815e7b8a7b9043ecb1d933 | |
parent | 0b8393964ed79dbf7382266b7cb62e7d530bb2c5 (diff) | |
download | initscripts-c27b7f0978cc3bf809667d7cad1d75b8d2e55134.tar initscripts-c27b7f0978cc3bf809667d7cad1d75b8d2e55134.tar.gz initscripts-c27b7f0978cc3bf809667d7cad1d75b8d2e55134.tar.bz2 initscripts-c27b7f0978cc3bf809667d7cad1d75b8d2e55134.tar.xz initscripts-c27b7f0978cc3bf809667d7cad1d75b8d2e55134.zip |
Check for NetworkManager to be connected, not just running. (#589710, #592095)
-rwxr-xr-x | rc.d/init.d/netfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index 6294aeb9..96bc117a 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -32,7 +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 ] && [ ! -f /var/lock/subsys/NetworkManager ] && exit 0 + [ ! -f /var/lock/subsys/network ] && ! nm-online -x >/dev/null 2>&1 && exit 0 [ "$EUID" != "0" ] && exit 4 [ -n "$NFSFSTAB" ] && { |