gluon-mesh-batman-adv-core: adjust rssid config to renamed WLAN interfaces

This should fix the signal strength indicators on the TP-Link CPE210/510.
This commit is contained in:
Matthias Schiffer 2015-07-10 20:58:46 +02:00
parent efbc88ddba
commit f5764a4a7b

View File

@ -0,0 +1,10 @@
#!/usr/bin/lua
local uci = require('luci.model.uci').cursor()
if uci:get('system', 'rssid_wlan0') then
uci:set('system', 'rssid_wlan0', 'dev', 'mesh0')
uci:save('system')
uci:commit('system')
end