aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 714d972c..3f791533 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -87,6 +87,7 @@ if [ "$BOOTPROTO" = bootp -a "$ISALIAS" = no ]; then
BOOTPHOSTNAME="$HOSTNAME"
echo "bootp response received -- using IP ${IPADDR}"
elif [ -z "$IPADDR" ]; then
+ ifconfig ${DEVICE} down
echo "No bootp response recieved -- not configuring device ${DEVICE}."
rm -f ${TMPFILE}
exit 1