diff options
author | Bill Nottingham <notting@redhat.com> | 2008-04-28 12:11:03 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2008-04-28 12:11:03 -0400 |
commit | 98a6595a35e51c34bee9c66ab8d9fc4302d3301c (patch) | |
tree | f7744f0bbffe9c185acf4c722815686cdbd601e1 /NetworkManager/dispatcher.d | |
parent | 1d3bf682486f5b428265e7f9f59b386e8b658aa6 (diff) | |
download | initscripts-98a6595a35e51c34bee9c66ab8d9fc4302d3301c.tar initscripts-98a6595a35e51c34bee9c66ab8d9fc4302d3301c.tar.gz initscripts-98a6595a35e51c34bee9c66ab8d9fc4302d3301c.tar.bz2 initscripts-98a6595a35e51c34bee9c66ab8d9fc4302d3301c.tar.xz initscripts-98a6595a35e51c34bee9c66ab8d9fc4302d3301c.zip |
Use a full path to /sbin/ip (#444378)
Diffstat (limited to 'NetworkManager/dispatcher.d')
-rwxr-xr-x | NetworkManager/dispatcher.d/05-netfs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NetworkManager/dispatcher.d/05-netfs b/NetworkManager/dispatcher.d/05-netfs index b3ba12c7..089b7261 100755 --- a/NetworkManager/dispatcher.d/05-netfs +++ b/NetworkManager/dispatcher.d/05-netfs @@ -3,13 +3,13 @@ export LC_ALL=C if [ "$2" = "down" ]; then - ip route ls | grep -q ^default || { + /sbin/ip route ls | grep -q ^default || { [ -f /var/lock/subsys/netfs ] && /etc/rc.d/init.d/netfs stop } fi if [ "$2" = "up" ]; then - defdev=$(ip route ls | awk '/^default/ { print $NF }') + defdev=$(/sbin/ip route ls | awk '/^default/ { print $NF }') if [ "$defdev" = "$1" ]; then /sbin/chkconfig netfs && /etc/rc.d/init.d/netfs start fi |