From 2fc7b3de9705c6a4ecd6f48d6153aa6037cee52f Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Thu, 27 Mar 2014 18:15:55 +0100 Subject: [PATCH] more explicit messages in rebuild_all_webconf --- src/rebuild_all_webconf.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/rebuild_all_webconf.sh b/src/rebuild_all_webconf.sh index 1d7cbaa3..ba4ec65f 100755 --- a/src/rebuild_all_webconf.sh +++ b/src/rebuild_all_webconf.sh @@ -4,24 +4,21 @@ . /usr/lib/alternc/functions.sh echo "This script will rebuild all web configuration and regenerate DNS." -echo "" echo "Only files in $VHOST_MANUALCONF will be preserved." echo "Use --force to skip confirmation" -echo "" if [ ! "$1" == "--force" ] ; then read -n1 -p "Continue (y/n)? " [[ $REPLY = [yY] ]] || exit 1 fi -echo "" echo "++ Start rebuilding ++" echo "Set flag to rebuild" mysql_query "update sub_domaines set web_action = 'UPDATE' and web_action != 'DELETE';" mysql_query "update domaines set dns_action = 'UPDATE' and dns_action != 'DELETE';" -echo "Launch update_domains to rebuild." +echo "Now launching update_domains to rebuild." /usr/lib/alternc/update_domains.sh /usr/lib/alternc/generate_bind_conf.php --force