openwrtv3/package/network/services/uhttpd/files/ubus.default
2013-11-11 19:14:01 +00:00

6 lines
128 B
Bash

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