Author: nbd Date: 2015-11-24 21:30:06 +0100 (Tue, 24 Nov 2015) New Revision: 47629
Modified: trunk/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh Log: qos-scripts: remove faulty fallback of the device variable to eth0 (#20834) Signed-off-by: Felix Fietkau <[email protected]> Modified: trunk/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh =================================================================== --- trunk/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh 2015-11-24 20:12:21 UTC (rev 47628) +++ trunk/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh 2015-11-24 20:30:06 UTC (rev 47629) @@ -216,7 +216,7 @@ 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";; _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
