diff --git a/install.sh b/install.sh index de008bc..21ce8e0 100644 --- a/install.sh +++ b/install.sh @@ -60,6 +60,10 @@ if [ -f "/opt/FreeDMR/config/FreeDMR.cfg" ] then variable=$(grep "SERVER_ID:" /opt/FreeDMR/config/FreeDMR.cfg | grep -Eo '[0-9]{1,9}') fi +if [ -f "/opt/adn-server/config/adn.cfg" ] +then + variable=$(grep "SERVER_ID:" /opt/adn-server/config/adn.cfg | grep -Eo '[0-9]{1,9}') +fi if [ -f "/opt/ADN-DMR-Peer-Server/config/adn.cfg" ] then variable=$(grep "SERVER_ID:" /opt/ADN-DMR-Peer-Server/config/adn.cfg | grep -Eo '[0-9]{1,9}') diff --git a/update.sh b/update.sh index ec082ec..cecb730 100644 --- a/update.sh +++ b/update.sh @@ -275,6 +275,10 @@ if [ -f "/opt/FreeDMR/config/FreeDMR.cfg" ] then variable=$(grep "SERVER_ID:" /opt/FreeDMR/config/FreeDMR.cfg | grep -Eo '[0-9]{1,9}') fi +if [ -f "/opt/adn-server/config/adn.cfg" ] +then + variable=$(grep "SERVER_ID:" /opt/adn-server/config/adn.cfg | grep -Eo '[0-9]{1,9}') +fi if [ -f "/opt/ADN-DMR-Peer-Server/config/adn.cfg" ] then variable=$(grep "SERVER_ID:" /opt/ADN-DMR-Peer-Server/config/adn.cfg | grep -Eo '[0-9]{1,9}')