Changes to Config File Logic
This commit is contained in:
parent
fe455a64f6
commit
6ff773dc3d
@ -832,7 +832,7 @@ config_file() {
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
if [ ! -z "$GATE" ]; then
|
||||
if [ ! -z "$GATE" ] && [ "$NET" != "dhcp" ]; then
|
||||
if [[ "$GATE" =~ $ip_regex ]]; then
|
||||
echo -e "${GATEWAY}${BOLD}${DGN}Gateway IP Address: ${BGN}$GATE${CL}"
|
||||
GATE=",gw=$GATE"
|
||||
|
Loading…
x
Reference in New Issue
Block a user