This commit is contained in:
Esteban Mackay Q 2023-12-10 19:27:23 -05:00
parent ee04b4cf40
commit 6a1b2baacc
3 changed files with 16 additions and 3 deletions

View File

@ -453,4 +453,4 @@ sudo cp /opt/rtl-sdr/rtl-sdr.rules /etc/udev/rules.d
##########
systemctl daemon-reload
sudi systemctl disable gpsd.socket gpsd.service

View File

@ -184,7 +184,6 @@ sed -i "s/Regional/XLX Module/g" /opt/xlxd/dashboard2/pgs/config.inc.php
sed -i "s/National/XLX Module/g" /opt/xlxd/dashboard2/pgs/config.inc.php
sed -i "s/\/tmp\/callinghome.php/\/xlxd\/callinghome.php/g" /opt/xlxd/dashboard2/pgs/config.inc.php
sed -i "s/'Active'] = false/'Active'] = true/g" /opt/xlxd/dashboard2/pgs/config.inc.php
########
#sed -i "s/define NB_OF_MODULES.*/define NB_OF_MODULES 34/g" /opt/xlxd/src/main.h
#sed -i "s/define YSF_AUTOLINK_ENABLE.*/define YSF_AUTOLINK_ENABLE 1/g" /opt/xlxd/src/main.h

View File

@ -31,6 +31,7 @@ if [[ $EUID -ne 0 ]]; then
whiptail --title "root" --msgbox "Cambie a usuario root / Change to user root" 0 50
exit 0
fi
wdp=/opt/wdp10
while : ; do
choix=$(whiptail --title "Raspbian Proyect HP3ICC Menu Easy-XLX" --menu "Suba o Baje con las flechas del teclado y seleccione el numero de opcion" 15 50 6 \
1 " Easy Config XLX " \
@ -49,6 +50,19 @@ fi
case $choix in
1)
wd0p=""
w0dn0=""
DASH=""
XRFNUM=""
CONTRIE=""
DESCRIPTION=""
NMODU=""
YSFMODU=""
YSFPOR=""
AMBIP=""
AMBPOR=""
EMAIL=""
CALLSIGN=""
wdp=/opt/wdp10
if [ ! -d "/opt/xlx-bk" ]; then
mkdir /opt/xlx-bk
@ -259,7 +273,7 @@ then AMBPOR=10100
fi
if [ -z "$EMAIL" ]
then EMAIL=
then EMAIL=xlx@xlxd.net
fi
if [ -z "$CALLSIGN" ]