Update direwolf.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-07-02 23:36:59 +00:00
parent 37048b7e97
commit a6ed5e6516
1 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,8 @@
#!/bin/bash
if systemctl status direwolf.service |grep active >/dev/null 2>&1
then systemctl stop direwolf.service
fi
if [ -d "/opt/direwolf" ]
then
rm -r /opt/direwolf
@ -164,6 +168,7 @@ cat > /opt/direwolf/gpsd.conf <<- "EOF"
# configuration for GPSD TX-only TRACKER. #
#############################################################
ADEVICE plughw:1,0
ACHANNELS 1
CHANNEL 0
MYCALL HP0XXX-9