uhttpd: fix exit code of mod-ubus postinstall script
[openwrt/svn-archive/archive.git] / package / network / services / uhttpd / files / ubus.default
1 #!/bin/sh
2
3 if [ -z "$(uci -q get uhttpd.main.ubus_prefix)" ]; then
4 uci set uhttpd.main.ubus_prefix=/ubus
5 uci commit uhttpd
6 fi
7
8 exit 0