Add more support code for auto detection
parent
b73ab90219
commit
d8b630e09d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue