aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifup-post6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post
index f8c07822..7f79930e 100755
--- a/sysconfig/network-scripts/ifup-post
+++ b/sysconfig/network-scripts/ifup-post
@@ -15,11 +15,11 @@ fi
/etc/sysconfig/network-scripts/ifup-routes ${DEVICE}
if [ "$ISALIAS" = no ] ; then
- allow_null_glob_expansion=foo
for alias in /etc/sysconfig/network-scripts/ifcfg-${DEVICE}:* ; do
- /etc/sysconfig/network-scripts/ifup $alias
+ if [ -f $alias ] ; then
+ /etc/sysconfig/network-scripts/ifup $alias
+ fi
done
- unset allow_null_glob_expansion
fi
if [ `hostname` = '(none)' -o `hostname` = localhost -a ${DEVICE} != lo ]; then