mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +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:
parent
a32539ae81
commit
742405b1d3
1 changed files with 1 additions and 1 deletions
|
@ -37,6 +37,7 @@ IPTABLES_DATA=/etc/sysconfig/iptables
|
||||||
source {{ iiab_env_file }}
|
source {{ iiab_env_file }}
|
||||||
lan=$IIAB_LAN_DEVICE
|
lan=$IIAB_LAN_DEVICE
|
||||||
wan=$IIAB_WAN_DEVICE
|
wan=$IIAB_WAN_DEVICE
|
||||||
|
iiab_gateway_enabled=$IIAB_GATEWAY_ENABLED
|
||||||
echo -e "\nLAN: $lan"
|
echo -e "\nLAN: $lan"
|
||||||
echo -e "WAN: $wan\n"
|
echo -e "WAN: $wan\n"
|
||||||
#network_mode=`grep iiab_network_mode_applied {{ iiab_ini_file }} | gawk '{print $3}'`
|
#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 }}
|
sshd_port={{ sshd_port }}
|
||||||
#gui_wan= [no longer needed]
|
#gui_wan= [no longer needed]
|
||||||
gui_port={{ gui_port }}
|
gui_port={{ gui_port }}
|
||||||
iiab_gateway_enabled={{ iiab_gateway_enabled }}
|
|
||||||
block_DNS={{ block_DNS }}
|
block_DNS={{ block_DNS }}
|
||||||
|
|
||||||
azuracast_ports="{{ azuracast_port_range_prefix }}000:{{ azuracast_port_range_prefix }}100"
|
azuracast_ports="{{ azuracast_port_range_prefix }}000:{{ azuracast_port_range_prefix }}100"
|
||||||
|
|
Loading…
Reference in a new issue