From daabc17d8b14984fad630e90cc318a35b2b5d2a4 Mon Sep 17 00:00:00 2001 From: WeeXnes Date: Mon, 16 Dec 2024 19:15:28 +0100 Subject: [PATCH] added systemd-resolved --- Scripts/custom_pst.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Scripts/custom_pst.sh b/Scripts/custom_pst.sh index e676f5b..1ab31b5 100755 --- a/Scripts/custom_pst.sh +++ b/Scripts/custom_pst.sh @@ -124,3 +124,14 @@ if [[ "$answer" =~ ^[Yy]$ ]]; then else echo "Snap installation skipped" fi + + +read -p "enable systemd-resolved? (needed for wireguard) (y/n): " answer + +# Handle user input +if [[ "$answer" =~ ^[Yy]$ ]]; then + sudo systemctl enable --now systemd-resolved +else + echo "systemd-resolved skipped" +fi +