# You need installed:
#
#  - Python3
#  - wireless-tools
#  - wpa_supplicant
#  - dhclient
#  - iproute2
#  - figlet
#  - pgrep
#  - python3 shell_cmd
#  - python3 psutil
#  - python3 setproctitle (optional)
#
# If you have network-manager, wicd or other managers installed, disable/uninstall them
#
# Don't configure the interface in /etc/network/interface
# 
# In the following example fuswim is launched at boot by rc.local,
# feel free to launch it from anywhere you prefer.
#

git clone https://git.nexlab.net/sysadmin/fuswim
mv fuswin /etc/
mkdir /etc/fuswin/networks
cat > /usr/sbin/fuswin << EOF
#!/bin/bash
/etc/fuswin/fuswin $@
EOF
chmod +x /usr/sbin/fuswin
echo "/etc/fuswin/fuswin boot wlan0" >> /etc/rc.local
