base-files: enable force_link for lan by default
This allows services to bind to it at boot time instead of waiting for a cable to be plugged in Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40773
This commit is contained in:
parent
479c25641a
commit
bb240b50b6
|
@ -172,6 +172,7 @@ ucidef_set_interface_lan() {
|
||||||
uci batch <<EOF
|
uci batch <<EOF
|
||||||
set network.lan='interface'
|
set network.lan='interface'
|
||||||
set network.lan.ifname='$ifname'
|
set network.lan.ifname='$ifname'
|
||||||
|
set network.lan.force_link=1
|
||||||
set network.lan.type='bridge'
|
set network.lan.type='bridge'
|
||||||
set network.lan.proto='static'
|
set network.lan.proto='static'
|
||||||
set network.lan.ipaddr='192.168.1.1'
|
set network.lan.ipaddr='192.168.1.1'
|
||||||
|
|
Loading…
Reference in New Issue