Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- clear
- 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."
- echo
- echo
- echo "Please Enter ip address"
- read ip
- clear
- echo "Please enter resolution, either type 1080 or 720"
- read res
- clear
- echo "Please enter your desired FPS type either 30 or 60"
- read fps
- clear
- echo
- echo
- echo
- echo
- echo "Is this info correct?"
- echo
- echo "IP Address:$ip"
- echo "Resolution:$res p"
- echo "FPS:$fps"
- echo
- echo
- echo "please type yes or no"
- read sure
- clear
- if [ $sure = yes ]
- then
- echo $ip $res $fps >> success.ini
- sed '/^exit/a java -jar /src/limelight-pi.jar -$res -$fps $ip' >> /etc/rc.local
- exit
- else
- exit
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement