mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-09-01 01:04:15 -04:00
13 lines
151 B
Bash
13 lines
151 B
Bash
|
#!/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
|
||
|
|
||
|
"$@" &
|