mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-12-06 01:38:23 +01:00
changes
This commit is contained in:
1 parent
e7e645e3c8
commit
1446ba1e1d
1 file changed
+3
-3
@@ -260,9 +260,9 @@ if [[ $swaptype ]];then
|
||||
case $swaptype in
|
||||
1)
|
||||
echo "Creando archivo swap, espere"
|
||||
dd if=/dev/zero of=/swapfile bs=1M count=$swapamount
|
||||
chmod 600 /swapfile
|
||||
mkswap /swapfile
|
||||
dd if=/dev/zero of=/mnt/swapfile bs=1M count=$swapamount
|
||||
chmod 600 /mnt/swapfile
|
||||
mkswap /mnt/swapfile
|
||||
echo "/swapfile none swap defaults 0 0" >> /mnt/etc/fstab
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in new issue
Block a user