Update noita-helper script
This commit is contained in:
parent
37b77e4880
commit
232f7e8276
@ -18,12 +18,12 @@ restic restore "latest:$SAVE_DIR" --target "$SAVE_DIR"
|
|||||||
|
|
||||||
echo "Ready to play Noita!"
|
echo "Ready to play Noita!"
|
||||||
echo "Remember to unmount the tmpfs after playing:"
|
echo "Remember to unmount the tmpfs after playing:"
|
||||||
echo "sudo umount $SAVE_DIR"
|
echo ""
|
||||||
echo "restic restore latest:$SAVE_DIR --target $SAVE_DIR"
|
echo "restic backup -q $SAVE_DIR && sudo umount $SAVE_DIR && restic -r $RESTIC_REPOSITORY restore latest:$SAVE_DIR --target $SAVE_DIR"
|
||||||
|
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
restic backup -q "$SAVE_DIR"
|
restic backup -q "$SAVE_DIR"
|
||||||
echo "Periodic backup done..."
|
echo "Periodic backup done..."
|
||||||
sleep 30m
|
sleep 10m
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user