Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ~/.profile
- #start x? - simple x init
- mystartxf()
- {
- local REPLY
- # If other than ROOT
- if (( EUID > 0 ))
- then
- ## Start X Server?
- printf 'Start X Server? y/N '
- read
- case $REPLY in
- [Yy]* )
- echo 'Yes!'
- #startx
- cinnamon-session
- ;;
- [Nn]* )
- echo 'Answer is no'
- ;;
- * )
- echo 'No!' >&2
- ;;
- esac
- fi
- }
- mystartxf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement