aquaballoon

sh - case

Nov 30th, 2011
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.23 KB | None | 0 0
  1. #! /bin/bash
  2.  
  3. dialog --title "LDAP Client Configuration"  --yesno "Go to Webmin for setting of LDAP Client!" 6 50
  4.  
  5. case $? in
  6.  0)
  7.     firefox https://localhost:10000 ;;
  8.  1)
  9.     echo "Exit" ;;
  10.  255)
  11.     echo "ESC pressed." ;;
  12. esac
  13.  
Advertisement
Add Comment
Please, Sign In to add comment