aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-aliases
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup-aliases')
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index 6540793e..81bad57a 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -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
# ask linuxconf for lines like:
# add <device> <ip>
# del <device>