diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-24 20:30:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-24 20:30:06 +0000 |
commit | f5970b94720ce7016979ac2fd3fef50f23994740 (patch) | |
tree | 30f0cd8e296dfb6d2025300441709b0dfabf53da /package/network/config/qos-scripts/files | |
parent | 34e0d3cb5a9fd4b68126240a73114d0a74ab702d (diff) | |
download | master-31e0f0ae-f5970b94720ce7016979ac2fd3fef50f23994740.tar.gz master-31e0f0ae-f5970b94720ce7016979ac2fd3fef50f23994740.tar.bz2 master-31e0f0ae-f5970b94720ce7016979ac2fd3fef50f23994740.zip |
qos-scripts: remove faulty fallback of the device variable to eth0 (#20834)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47629
Diffstat (limited to 'package/network/config/qos-scripts/files')
-rwxr-xr-x | package/network/config/qos-scripts/files/usr/lib/qos/generate.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh b/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh index 01f9b6b470..8d22b675c4 100755 --- a/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh +++ b/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh @@ -216,7 +216,7 @@ config_cb() { config_get device "$CONFIG_SECTION" device [ -z "$device" ] && { device="$(find_ifname ${CONFIG_SECTION})" - config_set "$CONFIG_SECTION" device "${device:-eth0}" + config_set "$CONFIG_SECTION" device "$device" } ;; classgroup) append CG "$CONFIG_SECTION";; |