I want to know if it is possible to add a condition or test in the file bootscript.
Because when the first boot we remove the partition 4 and resize partition 3.
If we need to flash the modules I want to test if the partition 4 is present or not. If it is not present I do not try to remove it.
Currently with no test, crash and stop reading the script if the partition 4 is absent.
thank you for your help