Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- dialog --inputbox "Bash shell or zsh shell? " 0 0 2> /tmp/inputbox.tmp.$$
- retval=$?
- my_shell_1=`cat /tmp/inputbox.tmp.$$`
- rm -f /tmp/inputbox.tmp.$$
- dialog --yesno "You want $my_shell" 0 0 2> /tmp/inputbox.tmp.$$
- retval=$?
- yes_no=`cat /tmp/inputbox.tmp.$$`
- rm -f /tmp/inputbox.tmp.$$
- case $retval in
- 0)
- clear; ${my_shell_1};;
- 1)
- echo -e ""$(\clear)"\nv1ral_ITS\nwww.pastebin.com/u/v1ral_ITS\n";;
- esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement