1
0
mirror of https://github.com/km4ack/patmenu2.git synced 2025-05-17 23:30:11 -07:00

add stop modems on exit

This commit is contained in:
KM4ACK 2020-05-14 11:56:31 -05:00
parent 8c7668c25d
commit 941fbdd000

View File

@ -36,5 +36,9 @@ yad --form --width=420 --text-align=center --center --title="Pat Menu" --text-al
--field="Manage Pat Winlink":fbtn 'bash -c "kill -USR1 $YAD_PID; /home/pi/patmenu2/manage-pat"' \
--field="Settings/Config":fbtn 'bash -c "kill -USR1 $YAD_PID; /home/pi/patmenu2/manage-menu"' \
--field="My Call - $MYCALLSIGN":LBL \
--button=gtk-quit
--button="QUIT":1
BUT=$?
if [ $BUT = 1 ] && [ "$AMRRON" = 'no' ]; then
sudo killall piardopc kissattach direwolf piARDOP_GUI rigctld > /dev/null 2>&1
fi