diff --git a/arch/arm/boards/sysmobts/defaultenv-sysmobts/boot/rescue b/arch/arm/boards/sysmobts/defaultenv-sysmobts/boot/rescue index 7b2c59a0d..d5f2a64fb 100644 --- a/arch/arm/boards/sysmobts/defaultenv-sysmobts/boot/rescue +++ b/arch/arm/boards/sysmobts/defaultenv-sysmobts/boot/rescue @@ -1,7 +1,9 @@ #!/bin/sh global bootm.image=/mnt/rescue/boot/zImage -#global bootm.oftree= +if [ -e /mnt/rescue/devicetree ]; then + global bootm.oftree=/mnt/rescue/devicetree +fi #global bootm.initrd= global linux.bootargs.dyn.root="root=ubi0:rescue ubi.mtd=root rootfstype=ubifs ro rauc.slot=rescue"