gluon-setup-mode: remove obsolete sysconfig.config_ifname migration
config_ifname was renamed to setup_ifname in Gluon v2015.1.
This commit is contained in:
parent
e9687d7ef1
commit
8807c76a34
@ -16,10 +16,7 @@ if platform.is_outdoor_device() or
|
||||
}) or
|
||||
platform.match('ar71xx', 'mikrotik')
|
||||
then
|
||||
sysconfig.setup_ifname = sysconfig.config_ifname or sysconfig.wan_ifname or sysconfig.lan_ifname
|
||||
sysconfig.setup_ifname = sysconfig.wan_ifname or sysconfig.lan_ifname
|
||||
else
|
||||
sysconfig.setup_ifname = sysconfig.config_ifname or sysconfig.lan_ifname or sysconfig.wan_ifname
|
||||
sysconfig.setup_ifname = sysconfig.lan_ifname or sysconfig.wan_ifname
|
||||
end
|
||||
|
||||
-- Remove the old sysconfig setting
|
||||
sysconfig.config_ifname = nil
|
||||
|
Loading…
Reference in New Issue
Block a user