Update fdmr.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-02-22 01:57:13 +00:00
parent d944cf629e
commit 893622ebdf
1 changed files with 6 additions and 1 deletions

View File

@ -711,6 +711,8 @@ ExecStart=php -S 0.0.0.0:80 -t /var/www/fdmr/
WantedBy=multi-user.target
EOF
#
sh -c "$(curl -fsSL https://raw.githubusercontent.com/hp3icc/D-APRS/main/emq-daprs.sh)"
#
cat > /lib/systemd/system/fdmr_mon.service <<- "EOF"
[Unit]
Description=FDMR Monitor
@ -745,7 +747,8 @@ choix=$(whiptail --title "Raspbian Proyect HP3ICC FDMR+" --menu "move up or down
6 " Start-Restart FDMR-Monitor " \
7 " Stop FreeDMR SERVER " \
8 " Stop FDMR-Monitor " \
9 " Menu update " 3>&1 1>&2 2>&3)
9 " D-APRS " \
10 " Menu update " 3>&1 1>&2 2>&3)
exitstatus=$?
#on recupere ce choix
#exitstatus=$?
@ -800,6 +803,8 @@ sudo systemctl disable fdmr_mon.service
sudo systemctl stop http.server-fdmr.service
sudo systemctl disable http.server-fdmr.service;;
9)
menu-igate ;;
10)
sh -c "$(curl -fsSL https://gitlab.com/hp3icc/fdmr/-/raw/main/update.sh)";
esac
done