From 2c26dc7b411e0b3d98bba2751b52878f5c89db5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Sat, 13 Apr 2019 10:31:44 +0200 Subject: netifd: add support for the new ar8xxx MIB counters settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit "generic: ar8216: add mib_poll_interval switch attribute" has added mib_poll_interval global config option and commit "generic: ar8216: group MIB counters and use two basic ones only by default" has added mib_type config option. Signed-off-by: Petr Štetiar --- package/network/config/netifd/files/etc/init.d/network | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package/network/config/netifd/files') diff --git a/package/network/config/netifd/files/etc/init.d/network b/package/network/config/netifd/files/etc/init.d/network index 99d9f6582f..2321a309a5 100755 --- a/package/network/config/netifd/files/etc/init.d/network +++ b/package/network/config/netifd/files/etc/init.d/network @@ -115,7 +115,9 @@ validate_switch_section() 'name:string' \ 'enable:bool' \ 'enable_vlan:bool' \ - 'reset:bool' + 'reset:bool' \ + 'ar8xxx_mib_poll_interval:uinteger' \ + 'ar8xxx_mib_type:range(0,1)' } validate_switch_vlan() -- cgit v1.2.3