aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/sync-tpc
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/sync-tpc')
-rwxr-xr-xshare/hydractl/sync-tpc4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/hydractl/sync-tpc b/share/hydractl/sync-tpc
index a785fb9..971ab53 100755
--- a/share/hydractl/sync-tpc
+++ b/share/hydractl/sync-tpc
@@ -78,3 +78,7 @@ fi
# Sync media remotes
hydractl sync-media-remotes $MEDIA
+
+# Record log
+$SUDO mkdir -p $DEST/var/log/hydra
+echo "`date +%Y%m%d` $BASENAME with data from `cat /etc/hostname`" | $SUDO tee -a $DEST/var/log/hydra/sync-tpc > /dev/null