Skip to content
Snippets Groups Projects
Commit bb240b50 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

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: default avatarFelix Fietkau <nbd@openwrt.org>

SVN-Revision: 40773
parent 479c2564
No related branches found
No related tags found
No related merge requests found
...@@ -172,6 +172,7 @@ ucidef_set_interface_lan() { ...@@ -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'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment