From 31e189f3762f1ba3cfcedd0c0ba42c76f685734c Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Mon, 9 Oct 2023 15:54:11 +0200 Subject: [PATCH] Update order of notifications --- scripts/launchvm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/launchvm.sh b/scripts/launchvm.sh index 9b65bb4..953bbd4 100755 --- a/scripts/launchvm.sh +++ b/scripts/launchvm.sh @@ -23,9 +23,9 @@ tmp=$(virsh --connect qemu:///system list | grep " win11 " | awk '{ print $3}') if ([ "x$tmp" == "x" ] || [ "x$tmp" != "xrunning" ]) then + echo "Virtual Machine win11 is starting now... Waiting 30s before starting xfreerdp." + notify-send "Virtual Machine win11 is starting now..." "Waiting 30s before starting xfreerdp." virsh --connect qemu:///system start win11 - echo "Virtual Machine win11 is starting... Waiting 45s for booting up." - notify-send "Virtual Machine win11 is starting..." "Waiting 30s for booting up." sleep 30 else notify-send "Virtual Machine win11 is already running." "Launching xfreerdp now!"