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 +