Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/sh
- if [ $# -eq 1 ]; then
- echo "Configuration of network"
- echo sudo ifconfig enp0s25 up
- echo sudo ifconfig enp0s25 192.168.1.1
- echo "Starting vlc"
- echo vlc rstp://192.168.1.134:5000/main.h264 &
- echo "Stating record"
- echo vlc rstp://192.168.1.134:5000/main.h264 --sout=file/ps:$1.mpg
- else
- echo "Incomplete declaration, add a name of file"
- fi
Add Comment
Please, Sign In to add comment