mirror of
https://github.com/femtofox/femtofox.git
synced 2026-10-25 18:40:20 -04:00
commit
a5eef81248
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ if [ ! -f /swapfile ]; then # check if swap file already exists
|
|||
chmod 600 /swapfile
|
||||
mkswap /swapfile > /dev/null
|
||||
swapon /swapfile > /dev/null
|
||||
echo '/swapfile none swap sw 0 0'
|
||||
echo '/swapfile none swap sw 0 0' | tee -a /etc/fstab > /dev/null
|
||||
log_message "Swap file allocated."
|
||||
else
|
||||
log_message "Swap file already allocated, skipping"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue