diff options
-rwxr-xr-x | bin/g-i-installation.sh | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index 9f98b826..f453c95d 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -173,8 +173,8 @@ backup_screenshot() { } do_and_report() { - vncdo -s $DISPLAY $1 $2 - echo "Sending $1 $2" + vncdo -s $DISPLAY $1 "$2" + echo "At $NR sending $1 $2" backup_screenshot } @@ -230,21 +230,21 @@ normal_action() { # case $NAME in *lxde) case $TOKEN in - 100) do_and_report key enter + 160) do_and_report key enter ;; - 120) do_and_report key alt-f2 + 200) do_and_report key alt-f2 ;; - 130) do_and_report type lxterminal + 230) do_and_report type lxterminal ;; - 140) do_and_report key enter + 240) do_and_report key enter ;; - 150) do_and_report type "su -c poweroff" + 250) do_and_report type "su -c poweroff" ;; - 160) do_and_report key enter + 270) do_and_report key enter ;; - 170) do_and_report type r00tme + 280) do_and_report type r00tme ;; - 180) do_and_report key enter + 300) do_and_report key enter ;; *) ;; esac |