Changeset 26881


Ignore:
Timestamp:
2011-05-13T08:31:41+02:00 (7 years ago)
Author:
jow
Message:

[packages] openvpn: stop instances even if they are disabled (#9404)

Location:
packages/net/openvpn
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/openvpn/Makefile

    r26480 r26881  
    1010PKG_NAME:=openvpn 
    1111PKG_VERSION:=2.1.4 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/net/openvpn/files/openvpn.init

    r22446 r26881  
    116116        # disabled? 
    117117        config_get_bool enable "$s" enable 0 
    118         [ "$enable" == 0 ] && return 0 
     118        [ "$enable" == 1 ] || [ "$S" == "TERM" ] || return 0 
    119119 
    120120        PID="/var/run/openvpn-$s.pid" 
Note: See TracChangeset for help on using the changeset viewer.