From 9fa51a0347cf5c074175f63047660a7d3dba528c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 22 Dec 2012 13:59:27 +0100 Subject: add kde depending actions --- bin/g-i-installation.sh | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index 6904e67f..329c674c 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -229,7 +229,7 @@ normal_action() { # actions depending on the type of installation # case $NAME in - *lxde*) case $TOKEN in + *lxde) case $TOKEN in 100) do_and_report key enter ;; 120) do_and_report key alt-f2 @@ -249,6 +249,30 @@ normal_action() { *) ;; esac ;; + *kde) case $TOKEN in + 200) do_and_report key alt-f2 + ;; + 210) do_and_report type "konqueror http://www.debian.org" + ;; + 220) do_and_report key enter + ;; + 300) do_and_report key alt-f2 + ;; + 310) do_and_report type konsole + ;; + 320) do_and_report key enter + ;; + 350) do_and_report type "su -c poweroff" + ;; + 360) do_and_report key enter + ;; + 370) do_and_report type r00tme + ;; + 380) do_and_report key enter + ;; + *) ;; + esac + ;; *) ;; esac } -- cgit v1.2.3-54-g00ecf