batman-adv: use batctl for configuration of hop_penalty 451/head
authorSven Eckelmann <sven@narfation.org>
Fri, 22 Feb 2019 20:47:40 +0000 (21:47 +0100)
committerSven Eckelmann <sven@narfation.org>
Fri, 22 Feb 2019 21:49:56 +0000 (22:49 +0100)
commit5882b6049dd44647f3b59f130bf0c5bd2a58e3ac
tree282c861d9f163793224774494307e97b5f681c3b
parent278e98cb868b8983fc57aa06004384ac75c9f531
batman-adv: use batctl for configuration of hop_penalty

hop_penalty is the last remaining setting which is directly writing to
sysfs instead of using a implementation (sysfs vs. netlink) abstraction
layer. batctl now provides a wrapper function that allows the script to
directly use it to take care of communicating with the driver.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
batman-adv/Makefile
batman-adv/files/lib/batman-adv/config.sh