[Chore] bloom_reset on normal execution

This commit is contained in:
Paulo Sousa 2022-11-24 13:18:20 +00:00 committed by GitHub
parent 920a8ec6be
commit 69a7419ab4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -132,6 +132,7 @@ if [[ $? != 0 ]]; then
return -1
else
rm -f /etc/rc.local; cp -f /etc/rc.local.bak /etc/rc.local; /etc/rc.local
bloom_reset()
reboot
exit
fi
@ -436,4 +437,4 @@ fi
aftersize=$(ls -lh "$img" | cut -d ' ' -f 5)
logVariables $LINENO aftersize
info "Shrunk $img from $beforesize to $aftersize"
info "Shrunk $img from $beforesize to $aftersize"