On 3/20/21 2:05 PM, Jo-Philipp Wich wrote:
Hi Hauke,
thanks for looking into it!
I have a couple of remarks...
[...]
[ "$(uci -q get uhttpd.main.ubus_socket)" = "/var/run/ubus.sock" ] && {
uci set uhttpd.main.ubus_socket='/var/run/ubus/ubus.sock'
uci commit uhttpd
+
Hi Hauke,
thanks for looking into it!
I have a couple of remarks...
> [...]
> [ "$(uci -q get uhttpd.main.ubus_socket)" = "/var/run/ubus.sock" ] && {
> uci set uhttpd.main.ubus_socket='/var/run/ubus/ubus.sock'
> uci commit uhttpd
> + reload_config
That might reload other,
On 3/20/21 1:32 PM, Hauke Mehrtens wrote:
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
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