mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-23 20:09:44 +00:00
Fix arch-chroot
This commit is contained in:
parent
c2c7918e5d
commit
8e82febbac
|
@ -472,7 +472,7 @@ if [[ $TOTAL_MEM -lt 8000000 ]]; then
|
|||
echo "/opt/swap/swapfile none swap sw 0 0" >> /mnt/etc/fstab # Add swap to fstab, so it KEEPS working after installation.
|
||||
fi
|
||||
|
||||
arch-chroot /mnt
|
||||
arch-chroot /mnt /bin/bash <<EOF
|
||||
|
||||
echo -ne "
|
||||
-------------------------------------------------------------------------
|
||||
|
@ -674,4 +674,5 @@ sed -i 's/^# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers
|
|||
sed -i 's/^# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers
|
||||
|
||||
# Replace in the same state
|
||||
cd "$(pwd)" || exit
|
||||
cd "$(pwd)" || exit
|
||||
EOF
|
Loading…
Reference in New Issue
Block a user