From 855f973f1f58029cbf6f986919333830b23969f4 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 10 Jul 2015 20:58:46 +0200 Subject: [PATCH] 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. --- .../gluon/upgrade/350-gluon-mesh-batman-adv-core-rssid | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 package/gluon-mesh-batman-adv-core/files/lib/gluon/upgrade/350-gluon-mesh-batman-adv-core-rssid diff --git a/package/gluon-mesh-batman-adv-core/files/lib/gluon/upgrade/350-gluon-mesh-batman-adv-core-rssid b/package/gluon-mesh-batman-adv-core/files/lib/gluon/upgrade/350-gluon-mesh-batman-adv-core-rssid new file mode 100755 index 00000000..5ddb4f90 --- /dev/null +++ b/package/gluon-mesh-batman-adv-core/files/lib/gluon/upgrade/350-gluon-mesh-batman-adv-core-rssid @@ -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