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.
This commit is contained in:
Tobias Mueller 2023-10-16 14:05:09 +02:00
parent 0e6af2eb77
commit e02de82dba

View File

@ -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"