Add more support code for auto detection

master
bbruns 2010-12-18 21:34:36 +00:00
parent b73ab90219
commit d8b630e09d
1 changed files with 5 additions and 0 deletions

View File

@ -110,6 +110,11 @@ if [[ "$EXTIF" == "auto" ]]; then
display_c YELLOW "Found default interface at: ${BLUE}${EXTIF}${DEFAULT_COLOR}"
fi
if [[ "$EXTIP" == "auto" ]]; then
EXTIP=$EXTIP_FIND
display_c YELLOW "Found default interface IP at: ${BLUE}${EXTIP}${DEFAULT_COLOR}"
fi
iptables_rules_flush ipv4
if [ -s "$BASEDIR/include/ipv4_custom_flush" ]; then