mirror of https://gitlab.com/hp3icc/emq-TE1.git
update
This commit is contained in:
parent
ee04b4cf40
commit
6a1b2baacc
|
|
@ -453,4 +453,4 @@ sudo cp /opt/rtl-sdr/rtl-sdr.rules /etc/udev/rules.d
|
||||||
##########
|
##########
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|
||||||
|
sudi systemctl disable gpsd.socket gpsd.service
|
||||||
|
|
|
||||||
|
|
@ -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/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/\/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/'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 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
|
#sed -i "s/define YSF_AUTOLINK_ENABLE.*/define YSF_AUTOLINK_ENABLE 1/g" /opt/xlxd/src/main.h
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@ if [[ $EUID -ne 0 ]]; then
|
||||||
whiptail --title "root" --msgbox "Cambie a usuario root / Change to user root" 0 50
|
whiptail --title "root" --msgbox "Cambie a usuario root / Change to user root" 0 50
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
wdp=/opt/wdp10
|
||||||
while : ; do
|
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 \
|
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 " \
|
1 " Easy Config XLX " \
|
||||||
|
|
@ -49,6 +50,19 @@ fi
|
||||||
|
|
||||||
case $choix in
|
case $choix in
|
||||||
1)
|
1)
|
||||||
|
wd0p=""
|
||||||
|
w0dn0=""
|
||||||
|
DASH=""
|
||||||
|
XRFNUM=""
|
||||||
|
CONTRIE=""
|
||||||
|
DESCRIPTION=""
|
||||||
|
NMODU=""
|
||||||
|
YSFMODU=""
|
||||||
|
YSFPOR=""
|
||||||
|
AMBIP=""
|
||||||
|
AMBPOR=""
|
||||||
|
EMAIL=""
|
||||||
|
CALLSIGN=""
|
||||||
wdp=/opt/wdp10
|
wdp=/opt/wdp10
|
||||||
if [ ! -d "/opt/xlx-bk" ]; then
|
if [ ! -d "/opt/xlx-bk" ]; then
|
||||||
mkdir /opt/xlx-bk
|
mkdir /opt/xlx-bk
|
||||||
|
|
@ -259,7 +273,7 @@ then AMBPOR=10100
|
||||||
|
|
||||||
fi
|
fi
|
||||||
if [ -z "$EMAIL" ]
|
if [ -z "$EMAIL" ]
|
||||||
then EMAIL=
|
then EMAIL=xlx@xlxd.net
|
||||||
|
|
||||||
fi
|
fi
|
||||||
if [ -z "$CALLSIGN" ]
|
if [ -z "$CALLSIGN" ]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue