|
|
|
@ -770,12 +770,6 @@ then
|
|
|
|
rm mon.db
|
|
|
|
rm mon.db
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
mysql -u root -e "DROP TABLE IF EXISTS selfcare.last_heard;" &&
|
|
|
|
|
|
|
|
mysql -u root -e "DROP TABLE IF EXISTS selfcare.lstheard_log;" &&
|
|
|
|
|
|
|
|
mysql -u root -e "DROP TABLE IF EXISTS selfcare.peer_ids;" &&
|
|
|
|
|
|
|
|
mysql -u root -e "DROP TABLE IF EXISTS selfcare.subscriber_ids;" &&
|
|
|
|
|
|
|
|
mysql -u root -e "DROP TABLE IF EXISTS selfcare.talkgroup_ids;" &&
|
|
|
|
|
|
|
|
mysql -u root -e "DROP TABLE IF EXISTS selfcare.tg_count;"
|
|
|
|
|
|
|
|
cd /opt/FDMR-Monitor
|
|
|
|
cd /opt/FDMR-Monitor
|
|
|
|
python3 mon_db.py --create
|
|
|
|
python3 mon_db.py --create
|
|
|
|
python3 mon_db.py --update
|
|
|
|
python3 mon_db.py --update
|
|
|
|
@ -976,13 +970,6 @@ then
|
|
|
|
rm mon.db
|
|
|
|
rm mon.db
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mysql -u root -e "DROP TABLE IF EXISTS selfcare.last_heard;" &&
|
|
|
|
|
|
|
|
mysql -u root -e "DROP TABLE IF EXISTS selfcare.lstheard_log;" &&
|
|
|
|
|
|
|
|
mysql -u root -e "DROP TABLE IF EXISTS selfcare.peer_ids;" &&
|
|
|
|
|
|
|
|
mysql -u root -e "DROP TABLE IF EXISTS selfcare.subscriber_ids;" &&
|
|
|
|
|
|
|
|
mysql -u root -e "DROP TABLE IF EXISTS selfcare.talkgroup_ids;" &&
|
|
|
|
|
|
|
|
mysql -u root -e "DROP TABLE IF EXISTS selfcare.tg_count;"
|
|
|
|
|
|
|
|
cd /opt/FDMR-Monitor2
|
|
|
|
cd /opt/FDMR-Monitor2
|
|
|
|
|
|
|
|
|
|
|
|
python3 mon_db.py --create
|
|
|
|
python3 mon_db.py --create
|
|
|
|
|