diff --git a/bridge/bridge-lan.sh b/bridge/bridge-lan.sh index f4dc952..ff63b43 100755 --- a/bridge/bridge-lan.sh +++ b/bridge/bridge-lan.sh @@ -96,7 +96,7 @@ iptables -t nat -A POSTROUTING -o $ETH_IFACE -j MASQUERADE echo "Redirected the router's ports to the single bridged client" echo -en "\nRestarting dnsmasq..." -service systemd-resolved stop +systemctl stop systemd-resolved # systemctl enable --now dnsmasq systemctl restart dnsmasq echo -e "\n" diff --git a/bridge/bridge-reset.sh b/bridge/bridge-reset.sh index 08255fc..165e272 100755 --- a/bridge/bridge-reset.sh +++ b/bridge/bridge-reset.sh @@ -48,8 +48,8 @@ while true; do sleep 5 done -service systemd-resolved start -sudo systemctl stop dnsmasq +systemctl start systemd-resolved +systemctl stop dnsmasq echo "Reset DNS services" echo -e "\nConnecting to WiFi..."