aboutsummaryrefslogtreecommitdiffstats
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
commitc731d42b1adbc6fc0d72bf3f551ae96962d1d26a (patch)
tree30a7c428135c35e4bfa2117bfe86448ff7239c92 /package/openswan/Makefile
parentcb21a64972f9467c77af343d0e031d1c39857940 (diff)
downloadupstream-c731d42b1adbc6fc0d72bf3f551ae96962d1d26a.tar.gz
upstream-c731d42b1adbc6fc0d72bf3f551ae96962d1d26a.tar.bz2
upstream-c731d42b1adbc6fc0d72bf3f551ae96962d1d26a.zip
init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enable|disable) manages symlinks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5128 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 54b565efdd..b5adc54257 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