[packages] openvpn: stop instances even if they are disabled (#9404)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26881 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -115,7 +115,7 @@ kill_service() {
|
||||
|
||||
# disabled?
|
||||
config_get_bool enable "$s" enable 0
|
||||
[ "$enable" == 0 ] && return 0
|
||||
[ "$enable" == 1 ] || [ "$S" == "TERM" ] || return 0
|
||||
|
||||
PID="/var/run/openvpn-$s.pid"
|
||||
|
||||
|
Reference in New Issue
Block a user