aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-routes
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1998-01-12 17:23:38 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1998-01-12 17:23:38 +0000
commitb68a780943e38566e053e93b653ab132dec66bd7 (patch)
treed268d6f48108fcb78c1a992840142b7631867d8e /sysconfig/network-scripts/ifup-routes
parentcb984cd31962aa722843d4edf2e4e853443ee5bd (diff)
downloadinitscripts-b68a780943e38566e053e93b653ab132dec66bd7.tar
initscripts-b68a780943e38566e053e93b653ab132dec66bd7.tar.gz
initscripts-b68a780943e38566e053e93b653ab132dec66bd7.tar.bz2
initscripts-b68a780943e38566e053e93b653ab132dec66bd7.tar.xz
initscripts-b68a780943e38566e053e93b653ab132dec66bd7.zip
/sbin/ isn't always in $PATH
Diffstat (limited to 'sysconfig/network-scripts/ifup-routes')
-rwxr-xr-xsysconfig/network-scripts/ifup-routes2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-routes b/sysconfig/network-scripts/ifup-routes
index 0733eea5..f8006b8b 100755
--- a/sysconfig/network-scripts/ifup-routes
+++ b/sysconfig/network-scripts/ifup-routes
@@ -13,5 +13,5 @@ fi
#note the trailing space in the grep gets rid of aliases
grep "^$1 " /etc/sysconfig/static-routes | while read device args; do
- route add -$args $device
+ /sbin/route add -$args $device
done