diff options
author | Bill Nottingham <notting@redhat.com> | 2012-08-06 15:18:23 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2012-08-06 15:18:23 -0400 |
commit | d85174edb7389f670705595804b48aee0278ed2f (patch) | |
tree | 0cba6c19ef0420ec21bb56c0fe962d13ee3bee4f /NetworkManager/dispatcher.d/05-netfs | |
parent | 164d1ede7161233a2a2fe6e4cf413b44a08923e4 (diff) | |
download | initscripts-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-x | NetworkManager/dispatcher.d/05-netfs | 17 |
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 - |