mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Update iiab-internet-on
This commit is contained in:
parent
6a4e6bb2a9
commit
c5bd0c909b
1 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
sed -i -e "s/^IIAB_GATEWAY_ENABLED.*/IIAB_GATEWAY_ENABLED=True/" {{ iiab_env_file }}
|
sed -i -e "s/^IIAB_GATEWAY_ENABLED.*/IIAB_GATEWAY_ENABLED=True/" {{ iiab_env_file }}
|
||||||
/usr/bin/iiab-gen-iptables
|
/usr/bin/iiab-gen-iptables
|
||||||
|
|
||||||
|
cat << EOF
|
||||||
|
WARNING: If you want to _permanently_ change your IIAB's default behavior
|
||||||
|
(i.e. to specify whether student client devices should have Internet or not,
|
||||||
|
in general!) then modify variable 'iiab_gateway_enabled' in
|
||||||
|
/etc/iiab/local_vars.yml — and finally run 'cd /opt/iiab/iiab ; ./iiab-network'
|
||||||
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue