Skip to content
Snippets Groups Projects
Commit f5970b94 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

qos-scripts: remove faulty fallback of the device variable to eth0 (#20834)


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

SVN-Revision: 47629
parent 34e0d3cb
No related branches found
No related tags found
No related merge requests found
......@@ -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";;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment