From 0942f4ea8f096834c43e95c022888689b9a88390 Mon Sep 17 00:00:00 2001 From: bfogt Date: Sat, 11 May 2019 16:26:34 -0500 Subject: [PATCH] Added 2 questions for configs and updated urls --- Multi-Reflector-Installer.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Multi-Reflector-Installer.sh b/Multi-Reflector-Installer.sh index 6879939..3e5be2e 100755 --- a/Multi-Reflector-Installer.sh +++ b/Multi-Reflector-Installer.sh @@ -66,6 +66,12 @@ read -p "What is the FQDN of the XLX Reflector dashboard? Example: xlx.domain.co echo "" read -p "What is the FQDN of the YSF Reflector dashboard? Example: ysf.domain.com " YSFDOMAIN echo "------------------------------------------------------------------------------" +echo "" +read -p "What E-Mail address can your users send questions to? " EMAIL +echo "" +echo "--------------------------------------" +echo "" +read -p "What is the admins callsign? " CALLSIGN #Gather dependicies echo "" echo "" @@ -125,6 +131,10 @@ cp -R $XLXINTDIR/xlxd/dashboard/* $XLXWEBDIR/ cp $XLXINTDIR/xlxd/scripts/xlxd /etc/init.d/xlxd sed -i "s/ARGUMENTS=\"XLX270 158.64.26.132\"/ARGUMENTS=\"$XFRNUM $LOCAL_IP 127.0.0.1\"/g" /etc/init.d/xlxd update-rc.d xlxd defaults +echo "Updating XLXD Config file... " +XLXCONFIG=/var/www/xlxd/pgs/config.inc.php +sed -i "s/your_email/$EMAIL/g" $XLXCONFIG +sed -i "s/LX1IQ/$CALLSIGN/g" $XLXCONFIG echo "--------------------------------------" echo "XLXD is finished installing." echo "--------------------------------------"