mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
mr_canhubk3: generate mtd_net when file is missing
This commit is contained in:
parent
b38305dd21
commit
af36c0b6ec
@ -28,6 +28,12 @@ then
|
||||
safety_button start
|
||||
fi
|
||||
|
||||
if [ -f "/mnt/qspi/mtd_net" ]
|
||||
then
|
||||
else
|
||||
netman update -i eth0
|
||||
fi
|
||||
|
||||
if param greater -s UAVCAN_ENABLE 0
|
||||
then
|
||||
ifup can0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user