mirror of
https://github.com/srlabs/blue-merle.git
synced 2024-12-22 21:59:25 -05:00
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:
parent
0e6af2eb77
commit
e02de82dba
@ -6,4 +6,6 @@
|
|||||||
shred /etc/oui-tertf/client.db || rm -f /etc/oui-tertf/client.db
|
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
|
# We mount a tmpfs so that the client database will be stored in memory only
|
||||||
mount -t tmpfs / /etc/oui-tertf
|
mount -t tmpfs / /etc/oui-tertf
|
||||||
|
logger -p notice -t blue-merle-mac-wipe "Restarting tertf..."
|
||||||
/etc/init.d/gl-tertf start
|
/etc/init.d/gl-tertf start
|
||||||
|
logger -p notice -t blue-merle-mac-wipe "... Finished"
|
||||||
|
Loading…
Reference in New Issue
Block a user