fixes uhttpd-config for initial flash

also fixes noded flashed with "sysupgrade -n"

Signed-off-by: Tobias Klaus <tk+ff@meskal.net>
Reviewed-by: Christian Dresel <fff@chrisi01.de>
This commit is contained in:
Tobias Klaus 2016-06-20 22:05:21 +02:00 committed by Tim Niemeyer
parent 1313359b1b
commit 30bf696591
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#!/bin/sh
uci batch <<EOF
delete uhttpd.main
delete uhttpd.public
delete uhttpd.ssl
delete uhttpd.px5g
@ -30,5 +31,5 @@ uci batch <<EOF
set uhttpd.px5g.commonname='OpenWrt'
EOF
uci commit
uci commit uhttpd
exit 0