init-ifupdown: virtwlans: add support to ConnectCore MP2 platform

https://onedigi.atlassian.net/browse/DEL-9237

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2024-09-18 21:34:37 +02:00
parent 19be4782ee
commit 909427ed4a
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2017-2023, Digi International Inc.
# Copyright (C) 2017-2024, Digi International Inc.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
@ -30,7 +30,7 @@ check_virtual_wlan_macs() {
if [ "$MODE" = "start" ]; then
# On ccmp1, there are not virtual wireless MACs, so skip the verification.
if ! grep -qs '\<digi,ccmp1\>' /proc/device-tree/compatible; then
if ! grep -qs '\<digi,ccmp[1-2]\>' /proc/device-tree/compatible; then
check_virtual_wlan_macs
fi