Hotfix: Guard against corrupted param files, still boot the system if they occur

This commit is contained in:
Lorenz Meier
2013-09-19 07:55:34 +02:00
parent fdc4521949
commit 3a49ec9eb1

View File

@@ -84,7 +84,12 @@ then
param select /fs/microsd/params
if [ -f /fs/microsd/params ]
then
param load /fs/microsd/params
if param load /fs/microsd/params
then
echo "Parameters loaded"
else
echo "Parameter file corrupt - ignoring"
fi
fi
#fi