Setup Script - Make sure you have at least 1 mon nic

This commit is contained in:
Mike Reeves
2019-03-13 14:21:27 -04:00
parent 20441df78e
commit 924b061b50

View File

@@ -1066,6 +1066,11 @@ whiptail_bond_nics() {
BNICS=$(whiptail --title "NIC Setup" --checklist "Please add NICs to the Monitor Interface" 20 78 12 ${FNICS[@]} 3>&1 1>&2 2>&3 )
while [ -z "$BNICS" ]
do
BNICS=$(whiptail --title "NIC Setup" --checklist "Please add NICs to the Monitor Interface" 20 78 12 ${FNICS[@]} 3>&1 1>&2 2>&3 )
done
local exitstatus=$?
whiptail_check_exitstatus $exitstatus