|
|
|
|
@ -344,8 +344,8 @@ sed -i "s/www\/html/www\/fdmr/g" /opt/FDMR-Monitor/sysinfo/*.*
|
|
|
|
|
cd /opt/FDMR-Monitor/
|
|
|
|
|
cp /opt/FDMR-Monitor/fdmr-mon_SAMPLE.cfg /opt/FDMR-Monitor/fdmr-mon.cfg
|
|
|
|
|
###############################
|
|
|
|
|
#wget -O /opt/FDMR-Monitor/html/img/logo.png https://adn.systems/files/logo1.png
|
|
|
|
|
#wget -O /opt/FDMR-Monitor/html/favicon.ico https://adn.systems/files/ADN_37x18_01.ico
|
|
|
|
|
#wget -O /opt/FDMR-Monitor/html/img/logo.png https://servers.adn.systems/logo1.png
|
|
|
|
|
#wget -O /opt/FDMR-Monitor/html/favicon.ico https://servers.adn.systems/ADN_37x18_01.ico
|
|
|
|
|
#
|
|
|
|
|
sudo cat > /opt/FDMR-Monitor/html/buttons.php <<- "EOF"
|
|
|
|
|
<!-- HBMonitor buttons HTML code -->
|
|
|
|
|
@ -581,9 +581,9 @@ sed -i "s/configFile =.*/configFile = '\/opt\/FDMR-Monitor2\/fdmr-mon.cfg';/g" /
|
|
|
|
|
sed -i "s/PRIVATE_NETWORK = True/PRIVATE_NETWORK = False/g" /opt/FDMR-Monitor2/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
variable2=$(date +'%Y' | tail -c 5)
|
|
|
|
|
#sed -i "s/CS8ABG<\/a> Dash/FDMR-Monitor2<\/a> by <a href=\"http:\/\/www.qrz.com\/db\/CS8ABG\"target=\"_blank\">CS8ABG<\/a>, <a href=https:\/\/gitlab.hacknix.net\/hacknix\/FreeDMR\/-\/wikis\/Home>FreeDMR<\/a> by <a href=\"http:\/\/www.qrz.com\/db\/G7RZU\"target=\"_blank\">G7RZU hacknix<\/a>, Script project: <a title=\"Script proyect by HP3ICC © 2018-$variable2\" href=\"https:\/\/gitlab.com\/hp3icc\/fdmr\/\"target=\"_blank\">FDMR+<\/a>/g" /opt/FDMR-Monitor2/html/include/footer.php
|
|
|
|
|
sed -i "s|SUBSCRIBER_URL.*|SUBSCRIBER_URL = https://adn.systems/files/subscriber_ids.json|g" /opt/FDMR-Monitor2/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sed -i "s|TGID_URL.*|TGID_URL = https://adn.systems/files/talkgroup_ids.json|g" /opt/FDMR-Monitor2/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sed -i "s|PEER_URL.*|PEER_URL = https://adn.systems/files/peer_ids.json|g" /opt/FDMR-Monitor2/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sed -i "s|SUBSCRIBER_URL.*|SUBSCRIBER_URL = https://servers.adn.systems/subscriber_ids.json|g" /opt/FDMR-Monitor2/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sed -i "s|TGID_URL.*|TGID_URL = https://servers.adn.systems/talkgroup_ids.json|g" /opt/FDMR-Monitor2/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sed -i "s|PEER_URL.*|PEER_URL = https://servers.adn.systems/peer_ids.json|g" /opt/FDMR-Monitor2/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sed -i "s/SUBSCRIBER_FILE =.*/SUBSCRIBER_FILE = subscriber_ids.json/g" /opt/FDMR-Monitor2/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sed -i "s/FILES_PATH =.*/FILES_PATH = \/opt\/FDMR-Monitor2\/data/g" /opt/FDMR-Monitor2/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
#sed -i "s/#fff/#d1d1d1/g" /opt/FDMR-Monitor2/html/plugins/adminlte/css/adminlte.min.css
|
|
|
|
|
@ -595,9 +595,9 @@ sed -i "s/configFile =.*/configFile = '\/opt\/FDMR-Monitor2\/fdmr-mon.cfg';/g" /
|
|
|
|
|
#wget -q --no-check-certificate -r 'https://docs.google.com/uc?export=download&id=1vsviKjpZmL_mWVEW2UstNODGPl8-uNVo' -O /opt/flags.zip &&
|
|
|
|
|
#sudo unzip -o /opt/flags.zip -d /opt/FDMR-Monitor2/html/flags/ &&
|
|
|
|
|
#rm /opt/flags.zip
|
|
|
|
|
#wget -O /opt/FDMR-Monitor2/html/img/logo.png https://adn.systems/files/logo1.png
|
|
|
|
|
#wget -O /opt/FDMR-Monitor2/html/img/favicon.ico https://adn.systems/files/ADN_37x18_01.ico
|
|
|
|
|
#wget -O /opt/FDMR-Monitor2/html/img/Logo_mini.png https://adn.systems/files/Logo_mini.png
|
|
|
|
|
#wget -O /opt/FDMR-Monitor2/html/img/logo.png https://servers.adn.systems/logo1.png
|
|
|
|
|
#wget -O /opt/FDMR-Monitor2/html/img/favicon.ico https://servers.adn.systems/ADN_37x18_01.ico
|
|
|
|
|
#wget -O /opt/FDMR-Monitor2/html/img/Logo_mini.png https://servers.adn.systems/Logo_mini.png
|
|
|
|
|
cp fdmr-mon_SAMPLE.cfg fdmr-mon.cfg
|
|
|
|
|
sudo chmod 644 fdmr-mon.cfg
|
|
|
|
|
sudo cp /opt/FDMR-Monitor2/html/* /var/www/fdmr2/ -r
|
|
|
|
|
|