aboutsummaryrefslogtreecommitdiffstats
path: root/NetworkManager/dispatcher.d/05-netfs
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2012-08-06 15:18:23 -0400
committerBill Nottingham <notting@redhat.com>2012-08-06 15:18:23 -0400
commitd85174edb7389f670705595804b48aee0278ed2f (patch)
tree0cba6c19ef0420ec21bb56c0fe962d13ee3bee4f /NetworkManager/dispatcher.d/05-netfs
parent164d1ede7161233a2a2fe6e4cf413b44a08923e4 (diff)
downloadinitscripts-d85174edb7389f670705595804b48aee0278ed2f.tar
initscripts-d85174edb7389f670705595804b48aee0278ed2f.tar.gz
initscripts-d85174edb7389f670705595804b48aee0278ed2f.tar.bz2
initscripts-d85174edb7389f670705595804b48aee0278ed2f.tar.xz
initscripts-d85174edb7389f670705595804b48aee0278ed2f.zip
Initial removal of support for non-systemd systems.
Diffstat (limited to 'NetworkManager/dispatcher.d/05-netfs')
-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
-