base-files: Fix netdev led trigger
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 16 Dec 2018 15:51:26 +0000 (16:51 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 16 Dec 2018 19:11:44 +0000 (20:11 +0100)
commit201058b35ce42086b83f7eabb6304cac00c4c585
treecdf1b2261061f1776bada5edfaa4e6ae75fcd4ab
parent3262fce1cd12cd9dbd3b3e50d034233b2b884101
base-files: Fix netdev led trigger

In the upstream netdev led trigger the one mode file was replaced by 3
files named rx, tx and link. Fix the netdev trigger configuration code
to use the modified API.

Fixes: aa3b6a08c56 ("kernel: Replace ledtrig-netdev with upstream backport")
Reported-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/base-files/files/etc/init.d/led