summaryrefslogtreecommitdiff
path: root/package/network/services/uhttpd/files/ubus.default
blob: 397456db6a99a6cf0c3ddd9ae0c938d538a871dd (plain)
1
2
3
4
5
6
#!/bin/sh

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