1
0
mirror of https://github.com/km4ack/patmenu2.git synced 2025-05-16 14:50:13 -07:00
patmenu2/stop-modems
2020-06-02 20:41:45 -05:00

20 lines
424 B
Bash
Executable File

#!/bin/bash
#20191117 km4ack
MYPATH=$HOME/patmenu2
LOGO=$MYPATH/pmlogo.png
#stop all modems that might be running
sudo killall direwolf piardopc kissattach piARDOP_GUI rfcomm > /dev/null 2>&1
yad --title="Modem Stopped" --width=400 --height=100 \
--image $LOGO --window-icon=$LOGO --image-on-top --text-align=center \
--center --form --text="\r\r\rModem has been stopped" \
--button=gtk-ok
sleep 2
exit 0