I am trying to do experiment with /etc/init. I have written a script which displays a window showing some menu. I don't understand on which event I should start my service.
I don't want any desktop manager after booting so I disabled LightDM. Now I want that my script should execute to show my own menu after booting. How can I achieve this??
Please help.....
I am using Ubuntu 13.04.
This is my script
dialog --backtitle "Linux Shell Script Tutorial " --title "Main\
Menu" --menu "Move using [UP] [DOWN],[Enter] to\
Select" 15 60 3 \
Date/time "Shows Date and Time" \
Calendar "To see calendar " \
Editor "To start vi editor " 2>/tmp/menuitem.$$
menuitem=`cat /tmp/menuitem.$$`
opt=$?
case $menuitem in
Date/time) date;;
Calendar) cal;;
Editor) vi;;
esac