You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
v2ray-core/tools/daemon/daemon.sh

13 lines
151 B

9 years ago
#!/bin/sh
# A simple script to run V2Ray in background.
if test -t 1; then
exec 1>/dev/null
fi
if test -t 2; then
exec 2>/dev/null
fi
"$@" &