qos-scripts: remove faulty fallback of the device variable to eth0 (#20834)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47629
This commit is contained in:
parent
34e0d3cb5a
commit
f5970b9472
1 changed files with 1 additions and 1 deletions
|
@ -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";;
|
||||
|
|
Loading…
Reference in a new issue