1
0
mirror of https://github.com/km4ack/patmenu2.git synced 2025-05-19 08:10:12 -07:00

x86 initial

This commit is contained in:
KM4ACK 2022-10-20 13:45:48 -05:00
parent 44eb45b97d
commit 420ad80e7e

View File

@ -94,7 +94,7 @@ WHO=$(whoami)
then then
CONTROL=$(cat $MYPATH/config | grep '^RIG="' | sed 's/RIG="//' | sed 's/"//' | sed 's/rigctl/rigctld/') CONTROL=$(cat $MYPATH/config | grep '^RIG="' | sed 's/RIG="//' | sed 's/"//' | sed 's/rigctl/rigctld/')
$CONTROL & $CONTROL &
sudo systemctl restart pat@$WHO sudo -A systemctl restart pat@$WHO
fi fi
SETRIG SETRIG
fi fi
@ -123,7 +123,7 @@ yad --title="ARDOP MODEM" --width=400 --height=100 \
fi fi
#restart pat so terminal window correctly reflects rig control #restart pat so terminal window correctly reflects rig control
sudo systemctl restart pat@`whoami` sudo -A systemctl restart pat@`whoami`
#open pat inbox in browser #open pat inbox in browser
export DISPLAY=:0 && xdg-open http://127.0.0.1:$PORT > /dev/null 2>&1 & export DISPLAY=:0 && xdg-open http://127.0.0.1:$PORT > /dev/null 2>&1 &