Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2014
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. #!/bin/bash
  2. clear
  3. echo "Only run this if you want a hardcoded ip and auto boot, and system is paired, and you have everything the way you want it. If not hit ctrl+c right now."
  4. echo
  5. echo
  6. echo "Please Enter ip address"
  7. read ip
  8. clear
  9. echo "Please enter resolution, either type 1080 or 720"
  10. read res
  11. clear
  12. echo "Please enter your desired FPS type either 30 or 60"
  13. read fps
  14. clear
  15. echo
  16. echo
  17. echo
  18. echo
  19. echo "Is this info correct?"
  20. echo
  21. echo "IP Address:$ip"
  22. echo "Resolution:$res p"
  23. echo "FPS:$fps"
  24. echo
  25. echo
  26. echo "please type yes or no"
  27. read sure
  28. clear
  29. if [ $sure = yes ]
  30. then
  31. echo $ip $res $fps >> success.ini
  32. sed '/^exit/a java -jar /src/limelight-pi.jar -$res -$fps $ip' >> /etc/rc.local
  33. exit
  34. else
  35. exit
  36. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement