Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3.  
  4.  
  5. selection=
  6.  
  7. until [ "$selection" = "0" ]; do
  8.  
  9. echo ""
  10.  
  11. echo "Master Script"
  12.  
  13. echo "1 - Screen List"
  14.  
  15. echo "2 - Acd_Cli"
  16.  
  17. echo "3 - RClone"
  18.  
  19. echo "4 - UnRar"
  20.  
  21. echo "5 - Web Edit"
  22.  
  23. echo "0 - exit program"
  24.  
  25. echo ""
  26.  
  27. echo -n "Enter selection: "
  28.  
  29. read selection
  30.  
  31. echo ""
  32.  
  33. case $selection in
  34.  
  35. 1 ) clear; screen -ls ; ;;
  36.  
  37. 2 ) cd /opt/masterscript && ./acd_cli.sh ; ;;
  38.  
  39. 3 ) cd /opt/masterscript && ./rclone.sh ; ;;
  40.  
  41. 4 ) cd /opt/masterscript && ./unrar.sh ; ;;
  42.  
  43. 5 ) cd /opt/masterscript && ./webedit.sh ; ;;
  44.  
  45. 0 ) exit ;;
  46.  
  47. * ) echo "Please enter a valid number";
  48.  
  49. esac
  50.  
  51. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement