Update dvswitch.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-03-19 17:51:55 +00:00
parent 085dac7fab
commit ba3361e66f
1 changed files with 2 additions and 1 deletions

View File

@ -129,7 +129,6 @@ sudo sed -i "s/Language=en_US/Language=es_ES/g" /opt/NXDNGateway/NXDNGateway.ini
sudo sed -i "s/Language=en_US/Language=es_ES/g" /opt/P25Gateway/P25Gateway.ini
#
sudo sed -i "s/utc_tz = new DateTimeZone('UTC'/utc_tz = new DateTimeZone('Europe\/Paris'/" /var/www/dvs/include/localtx.php
cat > /var/www/dvs/include/lh.php <<- "EOFX9"
<?php
include_once $_SERVER['DOCUMENT_ROOT'].'/include/config.php';
@ -247,6 +246,8 @@ for ($i = 0; ($i <= 19); $i++) { //Last 20 calls
EOFX9
#
sudo sed -i "s/utc_tz = new DateTimeZone('UTC'/utc_tz = new DateTimeZone('Europe\/Paris'/" /var/www/dvs/include/localtx.php
sudo sed -i "s/utc_tz = new DateTimeZone('UTC'/utc_tz = new DateTimeZone('Europe\/Paris'/" /var/www/dvs/include/lh.php
cat > /opt/MMDVM_Bridge/MMDVM_Bridge.ini <<- "EOF"
[General]
Callsign=N0CALL