Skip to content
This repository has been archived by the owner on Dec 24, 2022. It is now read-only.

能否加入开机自启动? #1

Closed
freenaser opened this issue Apr 27, 2021 · 3 comments
Closed

能否加入开机自启动? #1

freenaser opened this issue Apr 27, 2021 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@freenaser
Copy link

重启后脚本会失效。

@missuo
Copy link
Owner

missuo commented Apr 27, 2021

实在抱歉,或许我不会加入这个功能。因为如果给机器同时增加了IPV4和IPV6的话,会导致无法建立SSH连接,重启也没办法恢复。为了预防这种现象的产生,我不会增加开机自启动。你可以开机后输入wg-quick up wgcf来启动Warp!!!感谢反馈。

@freenaser
Copy link
Author

实在抱歉,或许我不会加入这个功能。因为如果给机器同时增加了IPV4和IPV6的话,会导致无法建立SSH连接,重启也没办法恢复。为了预防这种现象的产生,我不会增加开机自启动。你可以开机后输入wg-quick up wgcf来启动Warp!!!感谢反馈。

感谢您的回复,个人认为同时增加V4和V6的几率太小,并不实用,且您在代码中已提示用户可能产生的后果,这个选择权在使用者。另如果您坚持不主动添加自启动,我觉得可以多写一行“是否添加自启动“代码让用户选择。

@missuo
Copy link
Owner

missuo commented Apr 27, 2021

好的 谢谢你的建议

@missuo missuo added the help wanted Extra attention is needed label Jun 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants