From 69a7419ab45f68c37211660253c715480c6c95e6 Mon Sep 17 00:00:00 2001 From: Paulo Sousa <9092681+prsousa@users.noreply.github.com> Date: Thu, 24 Nov 2022 13:18:20 +0000 Subject: [PATCH] [Chore] bloom_reset on normal execution --- pishrink.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pishrink.sh b/pishrink.sh index 160f721..7698367 100755 --- a/pishrink.sh +++ b/pishrink.sh @@ -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" \ No newline at end of file +info "Shrunk $img from $beforesize to $aftersize"