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 | f12e97c895de2f756841458ebf5e3a0b3eb9ceea (patch) | |
tree | 20a23d8a5dd0252c87cfc1f79a86a62bfe9c57f5 /package/network/config/qos-scripts/files | |
parent | 6de0388cf3fd52512305a694ae817ced040a921a (diff) | |
download | master-187ad058-f12e97c895de2f756841458ebf5e3a0b3eb9ceea.tar.gz master-187ad058-f12e97c895de2f756841458ebf5e3a0b3eb9ceea.tar.bz2 master-187ad058-f12e97c895de2f756841458ebf5e3a0b3eb9ceea.zip |
qos-scripts: remove faulty fallback of the device variable to eth0 (#20834)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47629 3c298f89-4303-0410-b956-a3cf2f4a3e73
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";; |