aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ipv6
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-07-31 18:38:06 -0400
committerBill Nottingham <notting@redhat.com>2009-07-31 21:00:13 -0400
commite0149432e9315ceeccce7aefcaf8f86cee978973 (patch)
tree22834fd46d112878d105fbea6d59e4116c3277b4 /sysconfig/network-scripts/ifup-ipv6
parent655f83ef5b04a32dfb7bff959e9af65a37b79189 (diff)
downloadinitscripts-e0149432e9315ceeccce7aefcaf8f86cee978973.tar
initscripts-e0149432e9315ceeccce7aefcaf8f86cee978973.tar.gz
initscripts-e0149432e9315ceeccce7aefcaf8f86cee978973.tar.bz2
initscripts-e0149432e9315ceeccce7aefcaf8f86cee978973.tar.xz
initscripts-e0149432e9315ceeccce7aefcaf8f86cee978973.zip
Remove useless /sbin/ip wrapper function.
Diffstat (limited to 'sysconfig/network-scripts/ifup-ipv6')
-rwxr-xr-xsysconfig/network-scripts/ifup-ipv66
1 files changed, 3 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/ifup-ipv6 b/sysconfig/network-scripts/ifup-ipv6
index 6f8008c0..f6372ddf 100755
--- a/sysconfig/network-scripts/ifup-ipv6
+++ b/sysconfig/network-scripts/ifup-ipv6
@@ -163,7 +163,7 @@ fi
# Setup additional static IPv6 routes (newer config style)
if [ -f "/etc/sysconfig/network-scripts/route6-$DEVICE" ]; then
cat "/etc/sysconfig/network-scripts/route6-$DEVICE" | sed 's/#.*//g' | grep -v '^[[:space:]]*$' | while read line; do
- ipv6_exec_ip -6 route add $line
+ /sbin/ip -6 route add $line
done
fi
@@ -222,7 +222,7 @@ if [ "$IPV6TO4INIT" = "yes" ]; then
# Setup 6to4 tunnel (hardwired name is "tun6to4"), if config is valid
if [ "$valid6to4config" = "yes" ]; then
# Get MTU of master device
- ipv4mtu="$(ipv6_exec_ip link show dev $DEVICE | grep -w "mtu" | awk '{ print $5 }')"
+ ipv4mtu="$(/sbin/ip link show dev $DEVICE | grep -w "mtu" | awk '{ print $5 }')"
if [ -n "$ipv4mtu" ]; then
# IPv6 tunnel MTU is IPv4 MTU minus 20 for IPv4 header
tunnelmtu=$(($ipv4mtu-20))
@@ -269,7 +269,7 @@ if [ "$IPV6TO4INIT" = "yes" ]; then
# Add gateway if missing
line="$line via $ipv6to4_relay"
fi
- ipv6_exec_ip -6 route add $line
+ /sbin/ip -6 route add $line
done
fi