aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xNetworkManager/dispatcher.d/05-netfs4
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