run.sh 194 B

123456789
  1. #!/bin/bash
  2. if [ $# -gt 0 ]; then
  3. # append relay config if any parameters are given
  4. streamripper "$@" -r 8000 -R 0
  5. else
  6. # otherwise, default to no args (=> help output)
  7. streamripper
  8. fi