Guest User

Untitled

a guest
Jul 19th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #!/bin/sh
  2. #
  3. # Copyright (c) 2010
  4. # dz0ny
  5. #
  6.  
  7. if [ -z "$@" ]; then
  8. echo "Enter command!"
  9. else
  10. if [ $1 == "volume" ]; then
  11. echo "setvol $2" | nc 127.0.0.1 6600
  12. else
  13. echo "$@" | nc 127.0.0.1 6600
  14. fi
  15. fi
Add Comment
Please, Sign In to add comment