Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- IP=10.15.40.50
- until ping -c1 $IP &>/dev/null; do :; done
- sleep 15
- until raspivid -w 640 -h 480 -b 1000000 -t 0 -fps 30 -pf high -fl -cd H264 -lev 4.2 -if cyclic -g 0 -ih -o udp://$IP:5805; do
- echo "Server 'myserver' exited with code $?. Respawning..." >&2
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement