diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-16 19:36:22 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-16 19:36:22 +0000 |
commit | bb240b50b6d113f399dc34c0fb6ee9599aff6b41 (patch) | |
tree | 558ef2522c8f8ad0b86027bf672c83dee1049239 /package/base-files/files/lib/functions | |
parent | 479c25641a1370bbb02cbc4fab20c30259aca67f (diff) | |
download | master-31e0f0ae-bb240b50b6d113f399dc34c0fb6ee9599aff6b41.tar.gz master-31e0f0ae-bb240b50b6d113f399dc34c0fb6ee9599aff6b41.tar.bz2 master-31e0f0ae-bb240b50b6d113f399dc34c0fb6ee9599aff6b41.zip |
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
Diffstat (limited to 'package/base-files/files/lib/functions')
-rw-r--r-- | package/base-files/files/lib/functions/uci-defaults.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/lib/functions/uci-defaults.sh b/package/base-files/files/lib/functions/uci-defaults.sh index da2093bbb7..f144adefb4 100644 --- a/package/base-files/files/lib/functions/uci-defaults.sh +++ b/package/base-files/files/lib/functions/uci-defaults.sh @@ -172,6 +172,7 @@ ucidef_set_interface_lan() { uci batch <<EOF set network.lan='interface' set network.lan.ifname='$ifname' +set network.lan.force_link=1 set network.lan.type='bridge' set network.lan.proto='static' set network.lan.ipaddr='192.168.1.1' |