summaryrefslogtreecommitdiff
path: root/openwrt/package/vrrpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/vrrpd/Makefile')
-rw-r--r--openwrt/package/vrrpd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/openwrt/package/vrrpd/Makefile b/openwrt/package/vrrpd/Makefile
index b4aa4e0d5b..8805450c64 100644
--- a/openwrt/package/vrrpd/Makefile
+++ b/openwrt/package/vrrpd/Makefile
@@ -29,6 +29,10 @@ $(PKG_BUILD_DIR)/.built:
touch $@
$(IPKG_VRRPD):
+ install -d -m0755 $(IDIR_VRRPD)/etc/default
+ install -m0644 ./files/vrrpd.default $(IDIR_VRRPD)/etc/default/vrrpd
+ install -d -m0755 $(IDIR_VRRPD)/etc/init.d
+ install -m0755 ./files/vrrpd.init $(IDIR_VRRPD)/etc/init.d/vrrpd
install -d -m0755 $(IDIR_VRRPD)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/vrrpd $(IDIR_VRRPD)/usr/sbin/
$(RSTRIP) $(IDIR_VRRPD)