1
0
mirror of https://github.com/pConst/basic_verilog.git synced 2025-01-14 06:42:54 +08:00

Added swap script

This commit is contained in:
Konstantin Pavlov 2022-11-10 10:28:22 +03:00
parent 2543bcd567
commit da92eddd80

9
scripts/add_swap32.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
# the script adds 32GB of permanent swap space
sudo fallocate -l 32G /swap32
sudo chmod 600 /swap32
sudo mkswap /swap32
sudo swapon /swap32
echo '/swap32 none swap sw 0 0' | sudo tee -a /etc/fstab