1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00
raspap-webgui/installers/services.sh
2019-03-06 00:57:49 +01:00

12 lines
418 B
Bash

#!/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