summaryrefslogtreecommitdiffstats
path: root/package/ubus/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-20 15:01:12 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-20 15:01:12 +0000
commit1981c3be16f4db2394f6cf505650cb40b4ab9af1 (patch)
tree91547525cd49089ed550476a7bc1b14a1395f681 /package/ubus/Makefile
parent032074b799fe8ca52622db2a298e505fbac9a239 (diff)
ubusd: add an init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28496 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 c117453cb..d80309cda 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