fixv1

来自「This a good VPN source」· 代码 · 共 16 行

TXT
16
字号
# get rid of mistakes/differences in V1 output# - change west's IP addresses to east's# - ditch empty section output from _confread --search [bug]# - ditch support for plutoload=/plutostart=# - make --wait arg explicit# - neutralize FreeS/WAN version stringsed \	-e 's/--host "192.1.2.23"/--host "192.1.2.45"/' \	-e '/^=		$/d' \	-e 's/ --load "%search" --start "%search"//' \	-e 's/ --wait ""/ --wait "no"/' \	-e '/ipsec_setup: 	 echo .Starting FreeS.WAN IPsec/s/IPsec.*//' \	"$@"

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?