raspap-webgui/installers/services.sh

12 lines
418 B
Bash
Raw Normal View History

2019-03-06 00:57:49 +01:00
#!/bin/bash
# When wireless client AP mode is enabled, the hostapdstart script handles starting up network services
# in a specific order and timing to avoid race conditions. Disabling them here ensures they are not run
# at system startup.
sudo systemctl stop hostapd
sudo systemctl stop dnsmasq
sudo systemctl stop dhcpcd
sudo systemctl disable hostapd
sudo systemctl disable dnsmasq
sudo systemctl disable dhcpcd