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

If Shadowsocks doesn't get a key, then there is an error

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-06-09 17:06:26 +02:00
parent 21e99cd86e
commit ce7faebb07

View file

@ -1238,6 +1238,8 @@ _config_service() {
[ -z "$(_set_mptcp_vps)" ] && error=1
[ -z "$(_set_vpn_vps)" ] && error=1
fi
[ "$(uci -q get shadowsocks-libev.sss0.key)" = "" ] && error=1
#_set_pihole
[ -n "$wanips" ] && _set_wan_ip
_set_lan_ip