Skip to content

Commit

Permalink
Don't disable dnsmasq when disabling AP
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsowa committed Apr 20, 2022
1 parent 59f260b commit 0383152
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion stage3/01-net-config/files/scripts/ap-disable
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion stage3/01-net-config/files/scripts/ap-enable
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0383152

Please sign in to comment.