summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-22 19:00:31 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-22 19:00:31 +0100
commitd44a3477d5b307fc43cfff1d21a9445def25b4e6 (patch)
tree6fcdf0852eb3ea6ab25151ff596a3d0e2ed0eab4 /bin
parent820b0303eec0ec0d9d7233579bb03e2afcd345e1 (diff)
downloadjenkins.debian.net-d44a3477d5b307fc43cfff1d21a9445def25b4e6.tar.xz
try to fix lxde login and add more debug code
Diffstat (limited to 'bin')
-rwxr-xr-xbin/g-i-installation.sh20
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