aboutsummaryrefslogtreecommitdiffstats
path: root/NetworkManager
diff options
context:
space:
mode:
Diffstat (limited to 'NetworkManager')
-rwxr-xr-xNetworkManager/dispatcher.d/05-netfs17
1 files changed, 0 insertions, 17 deletions
diff --git a/NetworkManager/dispatcher.d/05-netfs b/NetworkManager/dispatcher.d/05-netfs
deleted file mode 100755
index bd558464..00000000
--- a/NetworkManager/dispatcher.d/05-netfs
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-export LC_ALL=C
-export SYSTEMCTL_SKIP_REDIRECT=1
-
-if [ "$2" = "down" ]; then
- /sbin/ip route ls | grep -q ^default || {
- [ -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 || :
- } || { :; }
-fi
-