Guest User

Untitled

a guest
Mar 23rd, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #! /bin/sh
  2.  
  3. if [ $# -eq 1 ]; then
  4. echo "Configuration of network"
  5. echo sudo ifconfig enp0s25 up
  6. echo sudo ifconfig enp0s25 192.168.1.1
  7.  
  8. echo "Starting vlc"
  9. echo vlc rstp://192.168.1.134:5000/main.h264 &
  10.  
  11. echo "Stating record"
  12. echo vlc rstp://192.168.1.134:5000/main.h264 --sout=file/ps:$1.mpg
  13. else
  14. echo "Incomplete declaration, add a name of file"
  15. fi
Add Comment
Please, Sign In to add comment