1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix when no shadowsocks key is set

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-06-10 15:54:18 +02:00
parent bb03165dc9
commit e7a7464ee3

View file

@ -1238,7 +1238,7 @@ _config_service() {
[ -z "$(_set_mptcp_vps)" ] && error=1
[ -z "$(_set_vpn_vps)" ] && error=1
fi
[ "$(uci -q get shadowsocks-libev.sss0.key)" = "" ] && error=1
[ "$(uci -q get shadowsocks-libev.sss0.key)" = "" ] && uci -q set openmptcprouter.${servername}.get_config=1
#_set_pihole
[ -n "$wanips" ] && _set_wan_ip