From 1f9809269504b80b9f1852fe65737a8959b258e3 Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Thu, 20 Oct 2022 13:45:07 -0500 Subject: [PATCH] x86 initial --- start-vara-hf | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/start-vara-hf b/start-vara-hf index cff0566..d415c31 100755 --- a/start-vara-hf +++ b/start-vara-hf @@ -108,11 +108,11 @@ SETRIG fi echo "starting VARA HF" -/usr/local/bin/wine $HOME/.wine/drive_c/VARA/VARA.exe > /dev/null 2>&1 & +/usr/bin/wine $HOME/.wine/drive_c/VARA/VARA.exe > /dev/null 2>&1 & sleep 7 #give vara time to start #verify vara has started -PIDVARA=$(ps aux | grep -i box86 | grep VARA.exe) +PIDVARA=$(ps aux | grep VARA.exe) if [ -z "$PIDVARA" ] then yad --title="FAILED" --width=400 --height=100 \ @@ -130,14 +130,9 @@ fi sleep 1 #restart pat so terminal window correctly reflects rig control -sudo systemctl restart pat@`whoami` +sudo -A systemctl restart pat@`whoami` echo "starting browser" #open pat inbox in browser export DISPLAY=:0 && xdg-open http://127.0.0.1:$PORT > /dev/null 2>&1 -#echo "cleaning up and closing" -#varapid=`ps aux | grep -i box86 | grep VARA.exe` -#kill $varapid > /dev/null 2>&1 -#kill $rigpid > /dev/null 2>&1 -