fix
This commit is contained in:
parent
abca002e21
commit
c640c12ebf
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ function cron() {
|
||||||
|
|
||||||
function makeswapfile() {
|
function makeswapfile() {
|
||||||
#swapfile
|
#swapfile
|
||||||
fallocate -l ${swapfilespeicher} ${mountpoint}/swapfile
|
fallocate -l 4G ${mountpoint}/swapfile
|
||||||
chmod 600 ${mountpoint}/swapfile
|
chmod 600 ${mountpoint}/swapfile
|
||||||
mkswap ${mountpoint}/swapfile
|
mkswap ${mountpoint}/swapfile
|
||||||
echo "/swapfile none swap defaults 0 0" >> ${mountpoint}/etc/fstab
|
echo "/swapfile none swap defaults 0 0" >> ${mountpoint}/etc/fstab
|
||||||
|
|
Loading…
Reference in a new issue