aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/config-3.18
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-05-28 08:18:08 +0200
committerRafał Miłecki <rafal@milecki.pl>2021-05-28 16:04:04 +0200
commitc2139eef279ef9efc30ddbaf08544f33eac63e36 (patch)
tree9c5f438d2ade0d15a3ff2d079b6d29a0fc9cfbbe /target/linux/adm5120/config-3.18
parent0bc3f51aa650ec9fea995233714219d2cb63f53c (diff)
downloadupstream-c2139eef279ef9efc30ddbaf08544f33eac63e36.tar.gz
upstream-c2139eef279ef9efc30ddbaf08544f33eac63e36.tar.bz2
upstream-c2139eef279ef9efc30ddbaf08544f33eac63e36.zip
base-files: simplify setting device MAC
1. Move code above interface generation It results in more logical order. Device gets its config section above interface section. 2. Drop the loop We have separated code handling bridges now so $device should be guaranteed to contain a single device name. 3. Drop section name It's not required by netifd or LuCI & it's not needed by this script as $device contains a single device name now. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit e002179a6d2eea8640e262160030336bea54ec26)
Diffstat (limited to 'target/linux/adm5120/config-3.18')
0 files changed, 0 insertions, 0 deletions