mirror of
https://github.com/km4ack/patmenu2.git
synced 2025-05-15 22:30:11 -07:00
parent
112e46fc6f
commit
7e5bcdb05c
@ -1,14 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
#20191117 km4ack
|
||||
#20220614 edit by KM4ACK
|
||||
|
||||
MYPATH=$HOME/patmenu2
|
||||
LOGO=$MYPATH/pmlogo.png
|
||||
|
||||
#stop all modems that might be running
|
||||
|
||||
sudo killall direwolf piardopc kissattach piARDOP_GUI > /dev/null 2>&1
|
||||
sudo killall direwolf piardopc kissattach piARDOP_GUI rigctld > /dev/null 2>&1
|
||||
sudo rfcomm release /dev/rfcomm0 > /dev/null 2>&1
|
||||
VARA=$(ps aux | grep wine | grep VARA | head -1 | awk '{print $2}')
|
||||
kill -9 $VARA > /dev/null 2>&1
|
||||
VARA=$(ps aux | grep wine | grep VARA | head -1 | awk '{print $2}')
|
||||
kill -9 $VARA > /dev/null 2>&1
|
||||
|
||||
yad --title="Modem Stopped" --width=400 --height=100 \
|
||||
--image $LOGO --window-icon=$LOGO --image-on-top --text-align=center \
|
||||
@ -17,4 +22,4 @@ yad --title="Modem Stopped" --width=400 --height=100 \
|
||||
|
||||
sleep 2
|
||||
|
||||
exit 0
|
||||
exit 0
|
Loading…
x
Reference in New Issue
Block a user