diff options
Diffstat (limited to 'sysconfig/network-scripts/ifup-routes')
-rwxr-xr-x | sysconfig/network-scripts/ifup-routes | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-routes b/sysconfig/network-scripts/ifup-routes index f0dde135..f16750d5 100755 --- a/sysconfig/network-scripts/ifup-routes +++ b/sysconfig/network-scripts/ifup-routes @@ -7,7 +7,8 @@ if [ "$1" = "" ]; then exit 1 fi -if [ -x /bin/linuxconf ] ; then +# 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 |