aquaballoon

sh - dialog: yesno

Nov 30th, 2011
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.20 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. ans=$?
  6.  
  7. if [ $ans = 0 ]; then
  8. firefox https://localhost:10000
  9.  
  10. else
  11. echo "NO"
  12. fi
  13.  
Advertisement
Add Comment
Please, Sign In to add comment