summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rwxr-xr-xpackage/openvpn/S60openvpn (renamed from package/openvpn/openvpn.init)0
-rw-r--r--package/openvpn/openvpn.mk8
2 files changed, 3 insertions, 5 deletions
diff --git a/package/openvpn/openvpn.init b/package/openvpn/S60openvpn
index 94bdc600e..94bdc600e 100755
--- a/package/openvpn/openvpn.init
+++ b/package/openvpn/S60openvpn
diff --git a/package/openvpn/openvpn.mk b/package/openvpn/openvpn.mk
index 2658d76a9..a49daca76 100644
--- a/package/openvpn/openvpn.mk
+++ b/package/openvpn/openvpn.mk
@@ -42,15 +42,13 @@ endif
define OPENVPN_INSTALL_TARGET_CMDS
$(INSTALL) -m 755 $(@D)/src/openvpn/openvpn \
$(TARGET_DIR)/usr/sbin/openvpn
- if [ ! -f $(TARGET_DIR)/etc/init.d/openvpn ]; then \
- $(INSTALL) -m 755 -D package/openvpn/openvpn.init \
- $(TARGET_DIR)/etc/init.d/openvpn; \
- fi
+ $(INSTALL) -m 755 -D package/openvpn/S60openvpn \
+ $(TARGET_DIR)/etc/init.d/S60openvpn
endef
define OPENVPN_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/sbin/openvpn
- rm -f $(TARGET_DIR)/etc/init.d/openvpn
+ rm -f $(TARGET_DIR)/etc/init.d/S60openvpn
endef
$(eval $(autotools-package))