From e02de82dba4bd96cd2c347f8a339890dcec25168 Mon Sep 17 00:00:00 2001 From: Tobias Mueller Date: Mon, 16 Oct 2023 14:05:09 +0200 Subject: [PATCH] mac-wipe: log execution to debug where it's stuck When installing the package, it appears to be stuck somewhere. I want to know where and why, so I use the logging facilities. --- files/lib/blue-merle/mac-wipe.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/lib/blue-merle/mac-wipe.sh b/files/lib/blue-merle/mac-wipe.sh index ed9309f..631339b 100644 --- a/files/lib/blue-merle/mac-wipe.sh +++ b/files/lib/blue-merle/mac-wipe.sh @@ -6,4 +6,6 @@ shred /etc/oui-tertf/client.db || rm -f /etc/oui-tertf/client.db # We mount a tmpfs so that the client database will be stored in memory only mount -t tmpfs / /etc/oui-tertf +logger -p notice -t blue-merle-mac-wipe "Restarting tertf..." /etc/init.d/gl-tertf start +logger -p notice -t blue-merle-mac-wipe "... Finished"