diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydractl/sync-home | 4 | ||||
-rwxr-xr-x | share/hydractl/sync-tpc | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/share/hydractl/sync-home b/share/hydractl/sync-home index 7be90ea..a0460e9 100755 --- a/share/hydractl/sync-home +++ b/share/hydractl/sync-home @@ -34,3 +34,7 @@ done # Sync files $SUDO $RSYNC /home/ $DEST/home/ + +# 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 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 |