humitos / pyfispot

Hotspot running with Python 2.7 + Flask + nginx + uWSGI + dnsmasq + hostapd
GNU General Public License v2.0
60 stars 23 forks source link

Use variables for ifaces in iptables' script #1

Closed humitos closed 8 years ago

humitos commented 8 years ago

For example:

IFACE_INTERNET=wlan1
IFACE_HOSTAPD=wlan0

Then, make the script able to be ran from the command line with the proper parameters.

humitos commented 8 years ago

Done in 982ad19b8517f0b5371fa7c921f5bfefab66b99a