-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问openwrt怎么开机自动启动trojan-go #491
Comments
if [ ! -f "/tmp/trojan-go.txt" ] 我解决了 用crontab1分钟运行一次就好了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/root/trojan/trojan-go -config /root/trojan/config-forward.json &
/root/trojan/trojan-go -config /root/trojan/config-nat.json &
就这2条命令,我放在/etc/rc.local里面的
这2条命令手动执行没问题,但是每次我重启openwrt,其他命令都生效,就这2条命令不生效,不管我把这2条命令放在什么位置,都不生效
导致每次停电或者路由器重启我都要手动执行一下
请问怎么弄才能实现开机自动启动?
The text was updated successfully, but these errors were encountered: