39c3c7adf3
Ubiquiti UniFi AP PRO
Gone due to
commit 45c84a1
("ar71xx: drop target")
15 lines
365 B
Lua
Executable File
15 lines
365 B
Lua
Executable File
#!/usr/bin/lua
|
|
|
|
local platform = require 'gluon.platform'
|
|
local sysconfig = require 'gluon.sysconfig'
|
|
|
|
if platform.is_outdoor_device() or
|
|
platform.match('ath79', 'generic', {
|
|
'ubnt,unifi-ap-pro',
|
|
})
|
|
then
|
|
sysconfig.setup_ifname = sysconfig.single_ifname or sysconfig.wan_ifname
|
|
else
|
|
sysconfig.setup_ifname = sysconfig.single_ifname or sysconfig.lan_ifname
|
|
end
|