summaryrefslogtreecommitdiff
path: root/package/openswan/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-15 21:03:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-15 21:03:30 +0000
commit8612d336918b408fd3abd844ccb8189f0d64acc5 (patch)
treedd043a8580746d6ee54912206a873228401c12f7 /package/openswan/Makefile
parent6f8a93af7ef4eafdd3d6f678398e6f5df2a5560d (diff)
downloadmtk-20170518-8612d336918b408fd3abd844ccb8189f0d64acc5.zip
mtk-20170518-8612d336918b408fd3abd844ccb8189f0d64acc5.tar.gz
mtk-20170518-8612d336918b408fd3abd844ccb8189f0d64acc5.tar.bz2
init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enable|disable) manages symlinks
SVN-Revision: 5128
Diffstat (limited to 'package/openswan/Makefile')
-rw-r--r--package/openswan/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/openswan/Makefile b/package/openswan/Makefile
index 54b565e..b5adc54 100644
--- a/package/openswan/Makefile
+++ b/package/openswan/Makefile
@@ -21,8 +21,6 @@ PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-PKG_INIT_PRIO:=60
-
include $(INCLUDE_DIR)/package.mk
define Package/openswan/Default
@@ -76,7 +74,7 @@ endef
define Package/openswan/install
$(CP) $(PKG_INSTALL_DIR)/* $(1)
install -d -m0755 $(1)/etc/init.d
- $(CP) $(1)/etc/rc.d/init.d/ipsec $(1)/etc/init.d/S$(PKG_INIT_PRIO)ipsec
+ $(CP) ./files/ipsec.init $(1)/etc/init.d/ipsec
rm -rf $(1)/usr/share
rm -rf $(1)/usr/man
rm -rf $(1)/var