From c6dcb375d378065a704dcd39a0c96a02a5384f8f Mon Sep 17 00:00:00 2001 From: Erik Troan Date: Mon, 9 Mar 1998 22:30:05 +0000 Subject: if bootp fails and there is no fallback IP, take down the device --- sysconfig/network-scripts/ifup | 1 + 1 file changed, 1 insertion(+) (limited to 'sysconfig') 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 -- cgit v1.2.1