aboutsummaryrefslogtreecommitdiffstats
path: root/NetworkManager
diff options
context:
space:
mode:
Diffstat (limited to 'NetworkManager')
-rwxr-xr-xNetworkManager/dispatcher.d/05-netfs8
1 files changed, 4 insertions, 4 deletions
diff --git a/NetworkManager/dispatcher.d/05-netfs b/NetworkManager/dispatcher.d/05-netfs
index 46d4bb42..655c87aa 100755
--- a/NetworkManager/dispatcher.d/05-netfs
+++ b/NetworkManager/dispatcher.d/05-netfs
@@ -4,13 +4,13 @@ export LC_ALL=C
if [ "$2" = "down" ]; then
/sbin/ip route ls | grep -q ^default || {
- [ -f /var/lock/subsys/netfs ] && /etc/rc.d/init.d/netfs stop
- }
+ [ -f /var/lock/subsys/netfs ] && /etc/rc.d/init.d/netfs stop || :
+ } && { :; }
fi
if [ "$2" = "up" ]; then
/sbin/ip -o route show dev "$1" | grep -q '^default' && {
- /sbin/chkconfig netfs && /etc/rc.d/init.d/netfs start
- }
+ /sbin/chkconfig netfs && /etc/rc.d/init.d/netfs start || :
+ } || { :; }
fi