From d9939953192fbca497b3f7fa3129fbc9fadc2ed2 Mon Sep 17 00:00:00 2001 From: RaspbianProyect by HP3ICC Date: Sat, 3 Jun 2023 14:37:01 +0000 Subject: [PATCH] Update fdmr.sh --- install/fdmr.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/install/fdmr.sh b/install/fdmr.sh index 1ea4de2..56fb61a 100644 --- a/install/fdmr.sh +++ b/install/fdmr.sh @@ -468,8 +468,6 @@ sudo cat > /opt/FDMR-Monitor/html/buttons.php <<- "EOF" EOF # - -mkdir /var/www/fdmr/ cp -r /opt/FDMR-Monitor/html/* /var/www/fdmr/ sudo chown www-data:www-data /var/www/fdmr/ -R cp /opt/FDMR-Monitor/utils/logrotate/fdmr_mon /etc/logrotate.d/ @@ -674,8 +672,8 @@ sudo sed -i "s/THEME_COLOR = .*/THEME_COLOR = pro/g" /opt/FDMR-Monitor/fdmr-mon. #sudo sed -i "s/SUBSCRIBER_URL = .*/SUBSCRIBER_URL = https:\/\/freedmr-lh.gb7fr.org.uk\/json\/subscriber_ids.json/g" /opt/FDMR-Monitor/fdmr-mon.cfg #sudo sed -i "s/TGID_URL = .*/TGID_URL = https:\/\/freedmr.cymru\/talkgroups\/talkgroup_ids_json.php/g" /opt/FDMR-Monitor/fdmr-mon.cfg -python3 mon_db.py --create -python3 mon_db.py --update +python3 /opt/FDMR-Monitor/mon_db.py --create +python3 /opt/FDMR-Monitor/mon_db.py --update sudo systemctl stop apache2 sudo systemctl disable apache2