diff options
author | Bill Nottingham <notting@redhat.com> | 2011-04-27 13:10:34 -0400 |
---|---|---|
committer | Petr Lautrbach <plautrba@redhat.com> | 2011-08-15 10:11:54 +0200 |
commit | 20b4c9356342ce1f57857e0a2103a431087be975 (patch) | |
tree | d87937e781f549bde4c77260d420141d80577529 /sysconfig/network-scripts | |
parent | ffedd739d7417cb6f3888865ab58f998212295a0 (diff) | |
download | initscripts-20b4c9356342ce1f57857e0a2103a431087be975.tar initscripts-20b4c9356342ce1f57857e0a2103a431087be975.tar.gz initscripts-20b4c9356342ce1f57857e0a2103a431087be975.tar.bz2 initscripts-20b4c9356342ce1f57857e0a2103a431087be975.tar.xz initscripts-20b4c9356342ce1f57857e0a2103a431087be975.zip |
Handle IPADDRx correctly for static addresses (#698738)
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifup-eth | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index 3658bd36..d8397602 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -216,7 +216,7 @@ if [ -n "${DYNCONFIG}" -a -x /sbin/dhclient ]; then fi # end dynamic device configuration else - if [ -z "${IPADDR}" ]; then + if [ -z "${IPADDR}" -a -z "${IPADDR0}" -a -z "${IPADDR1}" -a -z "${IPADDR2}" ]; then # enable device without IP, useful for e.g. PPPoE ip link set dev ${REALDEVICE} up if [ -n "$ETHTOOL_OPTS" ] ; then |