Skip to content
Snippets Groups Projects
  • Rafał Miłecki's avatar
    c2139eef
    base-files: simplify setting device MAC · c2139eef
    Rafał Miłecki authored
    
    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: default avatarRafał Miłecki <rafal@milecki.pl>
    (cherry picked from commit e002179a)
    c2139eef
    History
    base-files: simplify setting device MAC
    Rafał Miłecki authored
    
    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: default avatarRafał Miłecki <rafal@milecki.pl>
    (cherry picked from commit e002179a)