qos-scripts: fix interface resolving
authorJo-Philipp Wich <jo@mein.io>
Fri, 29 May 2020 08:34:58 +0000 (10:34 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 29 May 2020 08:37:13 +0000 (10:37 +0200)
commitc963e4267b916fa3b074b5ae1f5b5d2b9fc0af68
treed8deb19a196211a34bbd85dd87c7c852ce58c5f9
parent31de4a40e758f384e89b592806a64130833cac35
qos-scripts: fix interface resolving

Also ensure that the error message is actually printed to stderr and that
the rule generation is aborted if an interface cannot be resolved.

Ref: https://github.com/openwrt/luci/issues/3975
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 559b3384666bbc6e4e9e6d86cf54bd88d30b341f)
package/network/config/qos-scripts/Makefile
package/network/config/qos-scripts/files/usr/lib/qos/generate.sh