beielipi/root-bin/hotspot_off

9 lines
183 B
Bash
Executable File

#!/bin/bash
systemctl stop my_web_server.service
systemctl stop hostapd.service
systemctl stop fakedns.service
systemctl stop dnsmasq.service
ifdown wlan0
iw wlan0 set power_save on