From 03831527677eb26755a245c360780ee0b66c1209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Sowa?= Date: Wed, 20 Apr 2022 13:58:18 +0000 Subject: [PATCH] Don't disable dnsmasq when disabling AP --- stage3/01-net-config/files/scripts/ap-disable | 1 - stage3/01-net-config/files/scripts/ap-enable | 1 - 2 files changed, 2 deletions(-) diff --git a/stage3/01-net-config/files/scripts/ap-disable b/stage3/01-net-config/files/scripts/ap-disable index 4a76370..bbee787 100644 --- a/stage3/01-net-config/files/scripts/ap-disable +++ b/stage3/01-net-config/files/scripts/ap-disable @@ -11,7 +11,6 @@ read -p "Are you sure you want to continue [y/N]? " -n 1 -r echo if [[ ! $REPLY =~ ^[Yy]$ ]]; then exit 1; fi -systemctl disable --now dnsmasq systemctl disable --now hostapd mv -v /etc/netplan/20-wlan-ap.yaml /etc/netplan/20-wlan-ap.yaml.ignore diff --git a/stage3/01-net-config/files/scripts/ap-enable b/stage3/01-net-config/files/scripts/ap-enable index 5a33e25..89f7e5e 100644 --- a/stage3/01-net-config/files/scripts/ap-enable +++ b/stage3/01-net-config/files/scripts/ap-enable @@ -9,4 +9,3 @@ mv -v /etc/netplan/20-wlan-ap.yaml.ignore /etc/netplan/20-wlan-ap.yaml netplan apply systemctl enable --now hostapd -systemctl enable --now dnsmasq