uhttpd: return after processing -d switch, only set ubus prefix if not already defined
SVN-Revision: 38743v19.07.3_mercusys_ac12_duma
parent
c902a76f4d
commit
8a1d77efed
@ -1,2 +1,6 @@
|
||||
uci set uhttpd.main.ubus_prefix=/ubus
|
||||
uci commit uhttpd
|
||||
#!/bin/sh
|
||||
|
||||
if [ -z "$(uci -q get uhttpd.main.ubus_prefix)" ]; then
|
||||
uci set uhttpd.main.ubus_prefix=/ubus
|
||||
uci commit uhttpd
|
||||
fi
|
||||
|
Loading…
Reference in New Issue