qos-scripts: fix interface resolving
authorJo-Philipp Wich <jo@mein.io>
Fri, 29 May 2020 08:34:58 +0000 (10:34 +0200)
committerRISCi_ATOM <Bob@bobcall.me>
Sat, 30 May 2020 15:30:03 +0000 (15:30 +0000)
commitc8ffb21476d19036e99711c239f225843d193281
tree193cdd067b00b9600da049dec8bdc2b905917015
parenteac715b04e1accdc481f7e339235b3ea5cf5489e
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