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 69c5329bc6
commit 855f973f1f
1 changed files with 10 additions and 0 deletions

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