From 365f962999cfc85d1f921c5f057be940421c1e57 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 18 Jun 1999 21:23:18 +0000 Subject: remove commented-out linuxconf support ;) --- sysconfig/network-scripts/ifup-routes | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'sysconfig/network-scripts/ifup-routes') diff --git a/sysconfig/network-scripts/ifup-routes b/sysconfig/network-scripts/ifup-routes index b623cfd9..bcd8ac3b 100755 --- a/sysconfig/network-scripts/ifup-routes +++ b/sysconfig/network-scripts/ifup-routes @@ -7,18 +7,11 @@ if [ "$1" = "" ]; then exit 1 fi -# don't run linuxconf if /usr isn't there -#if [ -x /bin/linuxconf -a -f /usr/lib/libncurses.so.4.2 ] ; then -# linuxconf --hint routing "$1" | while read args; do -# /sbin/route $args -# done -#else - if [ ! -f /etc/sysconfig/static-routes ]; then - exit 0 - fi +if [ ! -f /etc/sysconfig/static-routes ]; then + exit 0 +fi - #note the trailing space in the grep gets rid of aliases - grep "^$1 " /etc/sysconfig/static-routes | while read device args; do - /sbin/route add -$args $device - done -#fi +#note the trailing space in the grep gets rid of aliases +grep "^$1 " /etc/sysconfig/static-routes | while read device args; do + /sbin/route add -$args $device +done -- cgit v1.2.1