From 23bb236dfb14648b65ef8912d21a4f3f7db6c9d2 Mon Sep 17 00:00:00 2001 From: kprkpr Date: Sun, 5 Jun 2016 23:23:37 +0200 Subject: [PATCH] changes --- archinstall/archinstall.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/archinstall/archinstall.sh b/archinstall/archinstall.sh index 13f0bac..3d29de6 100755 --- a/archinstall/archinstall.sh +++ b/archinstall/archinstall.sh @@ -255,13 +255,12 @@ tput setaf 2 ; echo "$(T "Downloading")" ; tput setaf 9 pacstrap -C /tmp/pacman.conf /mnt/ base btrfs-progs #Create fstab genfstab -U /mnt >> /mnt/etc/fstab - #Create or activate swap if neccesary if [[ $swaptype ]];then case $swaptype in 1) echo "Creando archivo swap, espere" - echo "dd if=/dev/zero of=/swapfile bs=1M count=$swapamount" + echo "dd if=/dev/zero of=/mnt/swapfile bs=1M count=$swapamount" dd if=/dev/zero of=/swapfile bs=1M count=$swapamount chmod 600 /swapfile mkswap /swapfile