1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

use iiab.env as reference for state of iiab_gateway_enabled

Opens up the posibility of gateway-on|off scripts like hotspot-on|off
This commit is contained in:
Jerry Vonau 2021-04-12 09:21:51 -05:00
parent a32539ae81
commit 742405b1d3

View file

@ -37,6 +37,7 @@ IPTABLES_DATA=/etc/sysconfig/iptables
source {{ iiab_env_file }}
lan=$IIAB_LAN_DEVICE
wan=$IIAB_WAN_DEVICE
iiab_gateway_enabled=$IIAB_GATEWAY_ENABLED
echo -e "\nLAN: $lan"
echo -e "WAN: $wan\n"
#network_mode=`grep iiab_network_mode_applied {{ iiab_ini_file }} | gawk '{print $3}'`
@ -49,7 +50,6 @@ gw_block_https={{ gw_block_https }}
sshd_port={{ sshd_port }}
#gui_wan= [no longer needed]
gui_port={{ gui_port }}
iiab_gateway_enabled={{ iiab_gateway_enabled }}
block_DNS={{ block_DNS }}
azuracast_ports="{{ azuracast_port_range_prefix }}000:{{ azuracast_port_range_prefix }}100"