aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-11-11 12:18:58 +0000
committerJohn Crispin <john@openwrt.org>2013-11-11 12:18:58 +0000
commit9f3b161a57ee6e1749ba289859fc7897f566d501 (patch)
tree963ce9eb26717d9126916794746e2ea63a0a3050 /package/network
parent4f59e59e6c9f3f6a0c0c76131eecfdf5c89c7068 (diff)
downloadupstream-9f3b161a57ee6e1749ba289859fc7897f566d501.tar.gz
upstream-9f3b161a57ee6e1749ba289859fc7897f566d501.tar.bz2
upstream-9f3b161a57ee6e1749ba289859fc7897f566d501.zip
uhttp: make sure that the ubus module is loaded when when installed
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38723
Diffstat (limited to 'package/network')
-rw-r--r--package/network/services/uhttpd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/network/services/uhttpd/Makefile b/package/network/services/uhttpd/Makefile
index 2ff2ff798c..be1a1e27f1 100644
--- a/package/network/services/uhttpd/Makefile
+++ b/package/network/services/uhttpd/Makefile
@@ -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