Browse Source

Modular Install script

main
Yiğit Çolakoğlu 4 years ago
parent
commit
4d22f5f9e4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      arch-setup/chroot.sh

+ 2
- 2
arch-setup/chroot.sh View File

@ -168,9 +168,9 @@ EOF
fi
mkdir -p /etc/sudoers.d
echo "$username $hostname =NOPASSWD: /usr/bin/systemctl poweroff,/usr/bin/systemctl halt,/usr/bin/systemctl reboot,/usr/bin/systemctl hibernate" >> /etc/sudoers.d/wheel
echo "$username $hostname =NOPASSWD: /usr/bin/systemctl poweroff,/usr/bin/systemctl halt,/usr/bin/systemctl reboot,/usr/bin/systemctl hibernate" > /etc/sudoers.d/wheel
echo "Defaults env_reset,pwfeedback" >> /etc/sudoers.d/wheel
echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/nopwd
echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/nopwd
sudo -u $username bash -c "git clone https://aur.archlinux.org/yay.git /tmp/yay"


Loading…
Cancel
Save