File indexing completed on 2024-03-24 05:28:18
0001 #! /bin/env sh 0002 0003 SWAP_FILE="/swapfile" 0004 fallocate -l 2G ${SWAP_FILE} 0005 chmod 600 ${SWAP_FILE} 0006 mkswap ${SWAP_FILE} 0007 0008 echo "${SWAP_FILE} none swap sw 0 0" >> /etc/fstab
File indexing completed on 2024-03-24 05:28:18
0001 #! /bin/env sh 0002 0003 SWAP_FILE="/swapfile" 0004 fallocate -l 2G ${SWAP_FILE} 0005 chmod 600 ${SWAP_FILE} 0006 mkswap ${SWAP_FILE} 0007 0008 echo "${SWAP_FILE} none swap sw 0 0" >> /etc/fstab