uboot: install sd/usb: convert double condition in a simpler single condition
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
parent
f3ae964d10
commit
fa3028a17e
|
|
@ -243,7 +243,7 @@ setenv bootcmd "
|
|||
echo \"\";
|
||||
echo \"\";
|
||||
echo \">> Firmware installation complete.\";
|
||||
if test ! -n \$\{dualboot\} || test \$\{dualboot\} = no; then
|
||||
if test \"\$\{dualboot\}\" != yes; then
|
||||
echo \"Rebooting into recovery mode for final deployment.\";
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
|
|
@ -246,7 +246,7 @@ setenv bootcmd "
|
|||
echo \"\";
|
||||
echo \"\";
|
||||
echo \">> Firmware installation complete.\";
|
||||
if test ! -n \$\{dualboot\} || test \$\{dualboot\} = no; then
|
||||
if test \"\$\{dualboot\}\" != yes; then
|
||||
echo \"Rebooting into recovery mode for final deployment.\";
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@ setenv bootcmd "
|
|||
echo \"\";
|
||||
echo \"\";
|
||||
echo \">> Firmware installation complete.\";
|
||||
if test ! -n \$\{dualboot\} || test \$\{dualboot\} = no; then
|
||||
if test \"\$\{dualboot\}\" != yes; then
|
||||
echo \"Rebooting into recovery mode for final deployment.\";
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
|
|
@ -257,7 +257,7 @@ setenv bootcmd "
|
|||
echo \"\";
|
||||
echo \"\";
|
||||
echo \">> Firmware installation complete.\";
|
||||
if test ! -n \$\{dualboot\} || test \$\{dualboot\} = no; then
|
||||
if test \"\$\{dualboot\}\" != yes; then
|
||||
echo \"Rebooting into recovery mode for final deployment.\";
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ setenv bootcmd "
|
|||
exit;
|
||||
fi;
|
||||
echo \"\";
|
||||
if test ! -n \$\{ubisysvols\} || test \"\$\{ubisysvols\}\" = no; then
|
||||
if test \"\$\{ubisysvols\}\" != yes; then
|
||||
nand erase.part update;
|
||||
fi;
|
||||
setenv boot_recovery yes;
|
||||
|
|
@ -246,7 +246,7 @@ setenv bootcmd "
|
|||
echo \"\";
|
||||
echo \"\";
|
||||
echo \">> Firmware installation complete.\";
|
||||
if test ! -n \$\{dualboot\} || test \$\{dualboot\} = no; then
|
||||
if test \"\$\{dualboot\}\" != yes; then
|
||||
echo \"Rebooting into recovery mode for final deployment.\";
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ setenv bootcmd "
|
|||
exit;
|
||||
fi;
|
||||
echo \"\";
|
||||
if test ! -n \$\{ubisysvols\} || test \"\$\{ubisysvols\}\" = no; then
|
||||
if test \"\$\{ubisysvols\}\" != yes; then
|
||||
nand erase.part update;
|
||||
fi;
|
||||
setenv boot_recovery yes;
|
||||
|
|
@ -247,7 +247,7 @@ setenv bootcmd "
|
|||
echo \"\";
|
||||
echo \"\";
|
||||
echo \">> Firmware installation complete.\";
|
||||
if test ! -n \$\{dualboot\} || test \$\{dualboot\} = no; then
|
||||
if test \"\$\{dualboot\}\" != yes; then
|
||||
echo \"Rebooting into recovery mode for final deployment.\";
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
|
|
@ -221,7 +221,7 @@ setenv bootcmd "
|
|||
echo \"\";
|
||||
echo \"\";
|
||||
echo \">> Firmware installation complete.\";
|
||||
if test ! -n \$\{dualboot\} || test \$\{dualboot\} = no; then
|
||||
if test \"\$\{dualboot\}\" != yes; then
|
||||
echo \"Rebooting into recovery mode for final deployment.\";
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ setenv bootcmd "
|
|||
echo \"\";
|
||||
echo \"\";
|
||||
echo \">> Firmware installation complete.\";
|
||||
if test ! -n \$\{dualboot\} || test \$\{dualboot\} = no; then
|
||||
if test \"\$\{dualboot\}\" != yes; then
|
||||
echo \"Rebooting into recovery mode for final deployment.\";
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
|
|
@ -292,7 +292,7 @@ setenv bootcmd "
|
|||
echo \"\";
|
||||
echo \"\";
|
||||
echo \">> Firmware installation complete.\";
|
||||
if test ! -n \$\{dualboot\} || test \$\{dualboot\} = no; then
|
||||
if test \"\$\{dualboot\}\" != yes; then
|
||||
echo \"Rebooting into recovery mode for final deployment.\";
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
|
|
@ -295,7 +295,7 @@ setenv bootcmd "
|
|||
echo \"\";
|
||||
echo \"\";
|
||||
echo \">> Firmware installation complete.\";
|
||||
if test ! -n \$\{dualboot\} || test \$\{dualboot\} = no; then
|
||||
if test \"\$\{dualboot\}\" != yes; then
|
||||
echo \"Rebooting into recovery mode for final deployment.\";
|
||||
fi;
|
||||
echo \"\";
|
||||
|
|
|
|||
Loading…
Reference in New Issue