beielipi/root-bin/hotspot_on

8 lines
185 B
Bash
Executable File

#!/bin/bash
iw wlan0 set power_save off
ifup wlan0
systemctl start dnsmasq.service
systemctl start fakedns.service
systemctl start hostapd.service
systemctl start my_web_server.service