meta-digi-dey: Added check if wlan1 interface already exist.
This commit verifies that the wlan1 interface is not already created and will skip creating the virtual interface if it already exist. Signed-off-by: Mike Engel <Mike.Engel@digi.com> https://jira.digi.com/browse/DEL-3917
This commit is contained in:
parent
5cccb22389
commit
b180a3e0b1
|
|
@ -25,5 +25,7 @@ else
|
|||
echo "program them referring to the Digi U-Boot Documentation"
|
||||
fi
|
||||
|
||||
# This will create a second wireless network device
|
||||
iw dev wlan0 interface add wlan1 type managed
|
||||
if [ ! -d "/sys/class/net/wlan1" ]; then
|
||||
# This will create a second wireless network device
|
||||
iw dev wlan0 interface add wlan1 type managed
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue