openwrtv3/package/network/services/uhttpd/files/ubus.default

7 lines
128 B
Text
Raw Normal View History

#!/bin/sh
if [ -z "$(uci -q get uhttpd.main.ubus_prefix)" ]; then
uci set uhttpd.main.ubus_prefix=/ubus
uci commit uhttpd
fi