daemon.sh 151 B

12345678910111213
  1. #!/bin/sh
  2. # A simple script to run V2Ray in background.
  3. if test -t 1; then
  4. exec 1>/dev/null
  5. fi
  6. if test -t 2; then
  7. exec 2>/dev/null
  8. fi
  9. "$@" &