From 980574bdc16af96bb284848c8eb0a2c6c3d0ad5b Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Fri, 21 Oct 2022 14:41:20 -0700 Subject: [PATCH] clean up and rework vhost-enable.sh --- bin/vhost-enable.sh | 174 +++++++++++--------------- etc/apache2/mods-available/macro.conf | 30 ++--- 2 files changed, 87 insertions(+), 117 deletions(-) diff --git a/bin/vhost-enable.sh b/bin/vhost-enable.sh index 7c13b4a..5e2027a 100755 --- a/bin/vhost-enable.sh +++ b/bin/vhost-enable.sh @@ -13,63 +13,41 @@ help() thisfilename=$(basename -- "$0") echo "Enable Apache config for virtualhost." echo "" - echo "usage: $thisfilename -d -m [-o ||] [-h]" + echo "usage: $thisfilename -d -m [-o |] [-h]" echo "" echo " -h Print this help." - echo " -d Domain name of VirtualHost to remove." + echo " -d Domain name of VirtualHost to add." echo " -m Name of Apache macro to apply." - echo " -o