uhttp: make sure that the ubus module is loaded when when installed

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38723
This commit is contained in:
John Crispin 2013-11-11 12:18:58 +00:00
parent 4f59e59e6c
commit 9f3b161a57

View File

@ -129,8 +129,9 @@ define Package/uhttpd-mod-lua/install
endef
define Package/uhttpd-mod-ubus/install
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_DIR) $(1)/usr/lib $(1)/etc/uci-defaults
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uhttpd_ubus.so $(1)/usr/lib/
$(INSTALL_DATA) ./files/ubus.default $(1)/etc/uci-defaults/00_uhttpd_ubus
endef