ROMFS: rcS dump parameter backup contents before using

- this is mainly for debug comparion
This commit is contained in:
Daniel Agar 2021-12-23 14:24:18 -05:00
parent 38af93085b
commit 14c2225b1c
1 changed files with 5 additions and 0 deletions

View File

@ -179,6 +179,11 @@ else
# try importing from backup file
if [ -f "/fs/microsd/parameters_backup.bson" ]
then
echo "[init] importing from parameter backup"
# dump current backup file contents for comparison
param dump /fs/microsd/parameters_backup.bson
param import /fs/microsd/parameters_backup.bson
fi
fi