8f5c0708ed
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44132
9 lines
136 B
Bash
9 lines
136 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
|
|
|
|
exit 0
|