esac
+#Enable / Disable TV Out on Startup
+
+if zenity --question --title="TV Out on startup" --text="Do you want to enable the TV Output on startup?\n(Note: This needs a bit more power)" --ok-label="Enable TV Out" --cancel-label="Disable TV Out"; then
+ touch /etc/pandora/conf/tvout.state
+ zenity --info --title="TV Out" --text "TV Out will be switched on with the last saved settings on bootup." --timeout 6
+ else
+ /usr/pandora/scripts/op_tvout.sh -d
+ if [ -f /etc/pandora/conf/tvout.state ]; then
+ rm /etc/pandora/conf/tvout.state
+ fi
+ zenity --info --title="TV Out" --text "TV Out will not be switched on on bootup." --timeout 6
+fi
+
# ----
# NOTE: This is just a temporary fix! These daemons should be removed from startup in the OE recipes. Until the time is found, we'll do it from here.