openvpn: use <pkg>_INSTALL_INIT_SYSV mechanism
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
ac1c9a2af8
commit
2b7b3f50a7
@ -50,6 +50,9 @@ endif
|
||||
define OPENVPN_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 755 $(@D)/src/openvpn/openvpn \
|
||||
$(TARGET_DIR)/usr/sbin/openvpn
|
||||
endef
|
||||
|
||||
define OPENVPN_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -m 755 -D package/openvpn/S60openvpn \
|
||||
$(TARGET_DIR)/etc/init.d/S60openvpn
|
||||
endef
|
||||
|
Loading…
Reference in New Issue
Block a user