uhttpd: Reload config after uhttpd-mod-ubus was added
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 20 Mar 2021 12:19:22 +0000 (13:19 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 21 Mar 2021 21:39:27 +0000 (22:39 +0100)
commit97a4d27fb5707d3a0b943f2af326b04d26f98731
treedf27dd2bceca3b41430ef784e25b14a62d35f7f1
parent69b4a11aedeb799cae97807ca932875d7c938645
uhttpd: Reload config after uhttpd-mod-ubus was added

Without this change the config is only committed, but the uhttpd daemon
is not reloaded. This reload is needed to apply the config. Without the
reload of uhttpd, the ubus server is not available over http and returns
a Error 404.

This caused problems when installing luci on the snapshots and
accessing it without reloading uhttpd.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit d25d281fd6686bda67636f6c1df918145b6cb738)
package/network/services/uhttpd/Makefile
package/network/services/uhttpd/files/ubus.default