diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2012-08-07 14:28:13 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2012-08-07 14:37:57 +0200 |
commit | d232acc90d7ebc2beba5e4ef6f9ffa6ab7f9b795 (patch) | |
tree | 09b1b49ce5e420a89ea3d29f65d0ee792285673a /sysconfig/network-scripts/ifup-sit | |
parent | 9303515da29993a52ad373cc739a776d66fe90ce (diff) | |
download | initscripts-d232acc90d7ebc2beba5e4ef6f9ffa6ab7f9b795.tar initscripts-d232acc90d7ebc2beba5e4ef6f9ffa6ab7f9b795.tar.gz initscripts-d232acc90d7ebc2beba5e4ef6f9ffa6ab7f9b795.tar.bz2 initscripts-d232acc90d7ebc2beba5e4ef6f9ffa6ab7f9b795.tar.xz initscripts-d232acc90d7ebc2beba5e4ef6f9ffa6ab7f9b795.zip |
Process rule6-* for sit devices (#840009)
Diffstat (limited to 'sysconfig/network-scripts/ifup-sit')
-rwxr-xr-x | sysconfig/network-scripts/ifup-sit | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sysconfig/network-scripts/ifup-sit b/sysconfig/network-scripts/ifup-sit index 498305b7..eb77fc4d 100755 --- a/sysconfig/network-scripts/ifup-sit +++ b/sysconfig/network-scripts/ifup-sit @@ -104,9 +104,5 @@ if [ -f /etc/sysconfig/static-routes-ipv6 ]; then done fi -# Setup additional static IPv6 routes (newer config style) -if [ -f "/etc/sysconfig/network-scripts/route6-$REALDEVICE" ]; then - sed -ne 's/#.*//' -e '/[^[:space:]]/p' "/etc/sysconfig/network-scripts/route6-$REALDEVICE" | while read line; do - /sbin/ip -6 route add $line - done -fi +# Setup static routes +/etc/sysconfig/network-scripts/ifup-routes ${REALDEVICE} |