mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
iiab_env_file -> {{ iiab_env_file }} or "{{ iiab_env_file }}"
This commit is contained in:
parent
d9c73cc804
commit
b973906dc3
18 changed files with 23 additions and 23 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash -x
|
||||
source /etc/iiab/iiab.env
|
||||
source {{ iiab_env_file }}
|
||||
{% if is_debuntu %}
|
||||
IPTABLES=/sbin/iptables
|
||||
IPTABLES_DATA=/etc/iptables.up.rules
|
||||
|
|
|
@ -16,4 +16,4 @@ if grep -qi raspbian /etc/*release; then
|
|||
ip link set dev wlan0 promisc on
|
||||
fi
|
||||
|
||||
sed -i -e "s/^HOSTAPD_ENABLED.*/HOSTAPD_ENABLED=False/" /etc/iiab/iiab.env
|
||||
sed -i -e "s/^HOSTAPD_ENABLED.*/HOSTAPD_ENABLED=False/" {{ iiab_env_file }}
|
||||
|
|
|
@ -17,6 +17,6 @@ if grep -qi raspbian /etc/*release; then
|
|||
ip link set dev wlan0 promisc off
|
||||
fi
|
||||
|
||||
sed -i -e "s/^HOSTAPD_ENABLED.*/HOSTAPD_ENABLED=True/" /etc/iiab/iiab.env
|
||||
sed -i -e "s/^HOSTAPD_ENABLED.*/HOSTAPD_ENABLED=True/" {{ iiab_env_file }}
|
||||
|
||||
echo -e "\nPlease consider rebooting now.\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue