5 if [ -z "$(uci -q get uhttpd.main.ubus_prefix)" ]; then
6 uci
set uhttpd.main.ubus_prefix
=/ubus
10 [ "$(uci -q get uhttpd.main.ubus_socket)" = "/var/run/ubus.sock" ] && {
11 uci
set uhttpd.main.ubus_socket
='/var/run/ubus/ubus.sock'
15 [ "$commit" = 1 ] && uci commit uhttpd
&& /etc
/init.d
/uhttpd reload