1 2 3 4 5 6 7 8 9 |
#!/usr/bin/env bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export PATH cd /root/myv2ray screen_name=$"MyV2ray" screen -dmS $screen_name cmd=$"./v2raym"; screen -x -S $screen_name -p 0 -X stuff "$cmd" screen -x -S $screen_name -p 0 -X stuff $'\n' |