Advertisement
kopilo

.profile

Jul 18th, 2011
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.43 KB | None | 0 0
  1. #!/bin/bash
  2. choice=$1
  3.  
  4. while [ 1 == 1 ] ; do
  5.     echo "Start xfce4? y/n"
  6.     read choice
  7.     if [[ "$choice" == "y" || "$choice" == "n" ]] ; then
  8.         break
  9.     fi
  10. done
  11.  
  12. if [ "$choice" == "y" ] ; then
  13. startx
  14. fi
  15.  
  16. if [ "$choice" == "n" ] ; then
  17. while [ 1 == 1 ]; do
  18. echo "Start e17?"
  19. read e
  20.   if [[ "$e" == "y" || "$e" == "n" ]] ; then
  21.       break
  22.   fi
  23. done
  24.  
  25. if [ "$e" == "y" ]; then
  26. exec enlightenment_start
  27. fi
  28.  
  29. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement