#!/bin/bash if [ "$WIFIPASS" == "" ] then read -p "Wifi Interface: " WLAN # wlan0, wlan1 etc read -p "Wifi Network name: " APName read -p "Wifi Password: " WIFIPASS fi if [ -z "$exc" ] then source functions.sh source dependencies.sh fi sudo systemctl stop dnsmasq sudo systemctl stop hostapd # ====================== # SETUP THE CONFIG FILES # ====================== # # STATIC IP / BRIDGE # save_original /etc/dhcpcd.conf exc patch /etc/dhcpcd.conf < /etc/iptables.ipv4.nat" save_original /etc/rc.local exc patch /etc/rc.local <