forked from freifunk-franken/firmware
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:
parent
1313359b1b
commit
30bf696591
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci batch <<EOF
|
uci batch <<EOF
|
||||||
|
delete uhttpd.main
|
||||||
delete uhttpd.public
|
delete uhttpd.public
|
||||||
delete uhttpd.ssl
|
delete uhttpd.ssl
|
||||||
delete uhttpd.px5g
|
delete uhttpd.px5g
|
||||||
|
@ -30,5 +31,5 @@ uci batch <<EOF
|
||||||
set uhttpd.px5g.commonname='OpenWrt'
|
set uhttpd.px5g.commonname='OpenWrt'
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
uci commit
|
uci commit uhttpd
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user