From 9fb6a23389fc36b9a3c61f26699e4ed94b6c4327 Mon Sep 17 00:00:00 2001 From: angristan Date: Sat, 15 Sep 2018 20:30:13 +0200 Subject: [PATCH] UX improvements --- openvpn-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 10d709b..c06a091 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -363,9 +363,10 @@ if [[ -e /etc/openvpn/server.conf ]]; then sed -i 's|include: "\/etc\/unbound\/unbound.conf.d\/\*.conf"||' /etc/unbound/unbound.conf fi - rm ${UNBOUND_CONF_D}/openvpn.conf + rm ${UNBOUND_CONF_D}/openvpn.conf >> /dev/null 2>&1 until [[ $REMOVE_UNBOUND == "y" || $REMOVE_UNBOUND == "n" ]]; do + echo "" read -rp "Do you want to remove Unbound, too? [y/n]: " -e REMOVE_UNBOUND done