ubus: revert the package install section from the trunk sync commit
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 21 Jan 2013 13:25:38 +0000 (13:25 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 21 Jan 2013 13:25:38 +0000 (13:25 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35267 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/ubus/Makefile

index 7d427ed..c7c643a 100644 (file)
@@ -63,7 +63,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