mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update direwolf.sh
This commit is contained in:
parent
37048b7e97
commit
a6ed5e6516
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue