blob: d0a218a0ad9d1e9077cd27f743a147971aae7cbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
if [ -z "$(uci -q get uhttpd.main.ubus_prefix)" ]; then
uci set uhttpd.main.ubus_prefix=/ubus
fi
[ "$(uci -q get uhttpd.main.ubus_socket)" = "/var/run/ubus.sock" ] && {
uci set uhttpd.main.ubus_socket='/var/run/ubus/ubus.sock'
}
exit 0
|