diff --git a/poweroff.sh b/poweroff.sh index f872759..6a64b8d 100755 --- a/poweroff.sh +++ b/poweroff.sh @@ -1,6 +1,7 @@ #!/bin/bash dt=$(date -Iseconds) -unison=$($HOME/scripts/unison_sync.sh) +# unison=$($HOME/scripts/unison_sync.sh) rm "$HOME/.cache/cliphist/db" +python "$HOME/scripts/resync_vault.py" echo "[$dt] INFO: navi, powering off" >> navi.log poweroff diff --git a/reboot.sh b/reboot.sh index fd0d1cf..75ef602 100644 --- a/reboot.sh +++ b/reboot.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash dt=$(date +'%d/%m/%y-%H.%M.%S') +rm "$HOME/.cache/cliphist/db" +python "$HOME/scripts/resync_vault.py" echo "[$dt] navi restarting..." >> $HOME/navi.log $HOME/scripts/modeset.py --shutdown reboot