+
+# Let the user run optional config stuff.
+
+while mainsel=$(zenity --title="Optional settings" --width="400" --height="300" --list --column "id" --column "Please select" --hide-column=1 --text="This concludes the mandatory part of the First Boot Wizard.\n\nYou can now either continue to boot the system or change some more settings.\n\n\nThank you for buying the OpenPandora. Enjoy using the device." "speed" "CPU-Speed and Overclocking-Settings" "startup" "Startup-Settings" "lcd" "LCD-Settings" --ok-label="Change selected Setting" --cancel-label="Continue to Boot"); do
+
+case $mainsel in
+ "speed")
+ /usr/pandora/scripts/op_cpusettings.sh
+ ;;
+
+ "startup")
+ echo $username > /tmp/currentuser
+ /usr/pandora/scripts/op_startupmanager.sh
+ ;;
+
+ "lcd")
+ /usr/pandora/scripts/op_lcdsettings.sh
+ ;;
+
+esac
+done
+
+# ----
+
+