Undo SWAP removal
This commit is contained in:
parent
7a64fd92e6
commit
d107e86b20
|
@ -326,11 +326,9 @@ if [ $IS_RASPI -eq 1 ] || [ $IS_ROCKPRO64 -eq 1 ]; then
|
|||
dd if=/dev/zero of=/mnt/hdd/swapfile count=1000 bs=1MiB
|
||||
chmod 600 /mnt/hdd/swapfile
|
||||
fi
|
||||
# Only setup swap for low-mem devices
|
||||
if [ "$TOTAL_RAM_GB" -lt "4" ]; then
|
||||
|
||||
mkswap /mnt/hdd/swapfile
|
||||
dphys-swapfile swapon
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user