mirror of https://gitlab.com/hp3icc/emq-TE1.git
update
This commit is contained in:
parent
0c892da100
commit
ee04b4cf40
|
|
@ -168,7 +168,7 @@ cd /opt/xlxd/src/
|
|||
sudo sed -i "s/mailto:<?php echo.*/mailto:<?php echo \$PageOptions['ContactEmail']; ?>\"><?php echo \$PageOptions['ContactEmail']; ?><\/a> <\/div> <p><a title=\"Raspbian Proyect by HP3ICC © <?php \$cdate=date(\"Y\"); if (\$cdate > \"2018\") {\$cdate=\"2018-\".date(\"Y\");} echo \$cdate; ?>\" target=\"_blank\" href=https:\/\/gitlab.com\/hp3icc\/easy-xlxd\/>Proyect: easy-xlxd<\/a>/" /opt/xlxd/dashboard/index.php
|
||||
sed -i "s/600/300/g" /opt/xlxd/dashboard/pgs/config.inc.php
|
||||
sed -i "s/tmp/xlxd/g" /opt/xlxd/dashboard/pgs/config.inc.php
|
||||
sed -i "s/'ShowFullIP'/'ShowLast2ByteOfIP'/g" //opt/xlxd/dashboard/pgs/config.inc.php
|
||||
sed -i "s/'ShowFullIP'/'ShowLast2ByteOfIP'/g" /opt/xlxd/dashboard/pgs/config.inc.php
|
||||
sed -i "s/Int./XLX Module/g" /opt/xlxd/dashboard/pgs/config.inc.php
|
||||
sed -i "s/Regional/XLX Module/g" /opt/xlxd/dashboard/pgs/config.inc.php
|
||||
sed -i "s/National/XLX Module/g" /opt/xlxd/dashboard/pgs/config.inc.php
|
||||
|
|
@ -178,7 +178,7 @@ sed -i "s/'Active'] = false/'Active']
|
|||
sudo sed -i "s/mailto:<?php echo.*/mailto:<?php echo \$PageOptions['ContactEmail']; ?>\"><?php echo \$PageOptions['ContactEmail']; ?><\/a> <\/div> <p><a title=\"Raspbian Proyect by HP3ICC © <?php \$cdate=date(\"Y\"); if (\$cdate > \"2018\") {\$cdate=\"2018-\".date(\"Y\");} echo \$cdate; ?>\" target=\"_blank\" href=https:\/\/gitlab.com\/hp3icc\/easy-xlxd\/>Proyect: easy-xlxd<\/a>/" /opt/xlxd/dashboard2/index.php
|
||||
sed -i "s/600/300/g" /opt/xlxd/dashboard2/pgs/config.inc.php
|
||||
sed -i "s/tmp/xlxd/g" /opt/xlxd/dashboard2/pgs/config.inc.php
|
||||
sed -i "s/'ShowFullIP'/'ShowLast2ByteOfIP'/g" //opt/xlxd/dashboard2/pgs/config.inc.php
|
||||
sed -i "s/'ShowFullIP'/'ShowLast2ByteOfIP'/g" /opt/xlxd/dashboard2/pgs/config.inc.php
|
||||
sed -i "s/Int./XLX Module/g" /opt/xlxd/dashboard2/pgs/config.inc.php
|
||||
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
|
||||
|
|
@ -192,9 +192,9 @@ sed -i "s/'Active'] = false/'Active']
|
|||
###########
|
||||
wget -q --no-check-certificate -r 'https://docs.google.com/uc?export=download&id=1ZD-z5RanPPUpA2vm65mh_2elp3IH_q4x' -O /opt/xlxd/dashboard/favicon.ico
|
||||
cp /opt/xlxd/dashboard/favicon.ico /opt/xlxd/dashboard2/favicon.ico
|
||||
cp /opt/xlxd/src/main.h /opt/xlxd/src/main.txt
|
||||
cp /opt/xlxd/dashboard/pgs/config.inc.php /opt/xlxd/dashboard/pgs/config.inc.txt
|
||||
cp /opt/xlxd/dashboard2/pgs/config.inc.php /opt/xlxd/dashboard2/pgs/config.inc.txt
|
||||
cp /opt/xlxd/src/main.h /opt/xlx-bk/main.h
|
||||
cp /opt/xlxd/dashboard/pgs/config.inc.php /opt/xlx-bk/config.inc1.php
|
||||
cp /opt/xlxd/dashboard2/pgs/config.inc.php /opt/xlx-bk/config.inc2.php
|
||||
chown -R www-data:www-data /opt/xlxd/dashboard/
|
||||
chown -R www-data:www-data /opt/xlxd/dashboard2/
|
||||
###########
|
||||
|
|
|
|||
|
|
@ -267,9 +267,9 @@ then CALLSIGN=LX1IQ
|
|||
|
||||
fi
|
||||
#########################
|
||||
cp /opt/xlxd/src/main.txt /opt/xlxd/src/main.h
|
||||
cp /opt/xlxd/dashboard/pgs/config.inc.txt /opt/xlxd/dashboard/pgs/config.inc.php
|
||||
cp /opt/xlxd/dashboard2/pgs/config.inc.txt /opt/xlxd/dashboard2/pgs/config.inc.php
|
||||
cp /opt/xlx-bk/main.h /opt/xlxd/src/main.h
|
||||
cp /opt/xlx-bk/config.inc1.php /opt/xlxd/dashboard/pgs/config.inc.php
|
||||
cp /opt/xlx-bk/config.inc2.php /opt/xlxd/dashboard2/pgs/config.inc.php
|
||||
#wpd
|
||||
sed -i "s|Web-Dashboar-Port:.*|Web-Dashboar-Port: $wd0p|g" $wdp
|
||||
sed -i "s|Web-Dashboar-dns:.*|Web-Dashboar-dns: $w0dn0|g" $wdp
|
||||
|
|
|
|||
Loading…
Reference in New Issue