SHARE
TWEET

VrI3Z0

a guest Oct 12th, 2009 247 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. echo ""
  3. echo "Script para seleccionar qu Tv queremos ver"
  4. echo""
  5. echo " 1 -> TVE-1"
  6. echo " 2 -> TVE-2"
  7. echo " 3 -> ANTENA 3"
  8. echo " 4 -> CUATRO"
  9. echo " 5 -> TELECINCO"
  10. echo " 6 -> LA SEXTA"
  11. echo " 7 -> TV CANARIA"
  12. echo " 8 -> TV CANARIA 2"
  13. echo " 11 -> Salir"
  14. echo ""
  15. echo "Seleccione una cadena de TV."
  16. read tv
  17. if [ "$tv" = "1" ]; then
  18. mplayer dvb://"La 1"
  19. elif [ "$tv" = "2" ]; then
  20. mplayer dvb://"La 2"
  21. elif [ "$tv" = "3" ]; then
  22. mplayer dvb://"ANTENA 3"
  23. elif [ "$tv" = "4" ]; then
  24. mplayer dvb://"CUATRO"
  25. elif [ "$tv" = "5" ]; then
  26. mplayer dvb://"Telecinco"
  27. elif [ "$tv" = "6" ]; then
  28. mplayer dvb://"laSexta"
  29. elif [ "$tv" = "7" ]; then
  30. mplayer dvb://"TV CANARIA"
  31. elif [ "$tv" = "8" ]; then
  32. mplayer dvb://"TV CANARIA 2"
  33. elif [ "$tv" = "11" ]; then
  34. exit
  35. fi
  36. #FIN
RAW Paste Data
Top