Add noswap to noita-helper mount opts
This commit is contained in:
parent
35fcb0db67
commit
a9e6b6dfb4
@ -11,7 +11,7 @@ restic backup -q "$SAVE_DIR"
|
||||
echo "Backup done"
|
||||
|
||||
echo "Mounting tmpfs for save folder..."
|
||||
sudo mount -o size=2G -t tmpfs none "$SAVE_DIR"
|
||||
sudo mount -o size=2G,noswap -t tmpfs none "$SAVE_DIR"
|
||||
|
||||
echo "Restoring initial backup..."
|
||||
restic restore "latest:$SAVE_DIR" --target "$SAVE_DIR"
|
||||
|
Loading…
x
Reference in New Issue
Block a user