aboutsummaryrefslogtreecommitdiffstats
path: root/package/ubus/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-20 15:01:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-10-20 15:01:12 +0000
commit0798d4a5c7035bb545dd94527d04fa12b901db15 (patch)
tree2b9559c2e79f7a93e29bbbeaf1f4a4412390a3d1 /package/ubus/Makefile
parentc2b5767572c7cece21f7739e416d59458278b7d8 (diff)
downloadupstream-0798d4a5c7035bb545dd94527d04fa12b901db15.tar.gz
upstream-0798d4a5c7035bb545dd94527d04fa12b901db15.tar.bz2
upstream-0798d4a5c7035bb545dd94527d04fa12b901db15.zip
ubusd: add an init script
SVN-Revision: 28496
Diffstat (limited to 'package/ubus/Makefile')
-rw-r--r--package/ubus/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/ubus/Makefile b/package/ubus/Makefile
index c117453cb5..d80309cdaf 100644
--- a/package/ubus/Makefile
+++ b/package/ubus/Makefile
@@ -46,7 +46,8 @@ define Package/ubus/install
endef
define Package/ubusd/install
- $(INSTALL_DIR) $(1)/sbin
+ $(INSTALL_DIR) $(1)/sbin $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/ubus.init $(1)/etc/init.d/ubus
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/ubusd $(1)/sbin/
endef