Inspiration from http://www.raspberryconnect.com/network/item/330-raspberry-pi-auto-wifi-hotspot-switch-internet
- A working Wifi (configured in /etc/wpa_supplicant/wpa_supplicant.conf)
- A working hotspot setup (configured in /etc/hostapd/hostapd.conf)
- The /etc/dhcpcd.conf file has following contents:
interface wlan0
nohook wpa_supplicant