fetching main
This commit is contained in:
commit
cb2a176fc2
|
|
@ -48,6 +48,10 @@ localectl --no-ask-password set-locale LANG="$LOCALE" LC_TIME="$LOCALE"
|
|||
localectl --no-ask-password set-keymap --no-convert "$KEYMAP"
|
||||
|
||||
# Add sudo no password rights
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
sed -i 's/^# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers
|
||||
>>>>>>> 44fb72cfdf009a9815f39848bc8aa7d8f7c8321b
|
||||
sed -i 's/^# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/%wheel ALL=(ALL:ALL) NOPASSWD: ALL/' /etc/sudoers
|
||||
|
||||
#Add parallel downloading
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ echo -ne "
|
|||
-------------------------------------------------------------------------
|
||||
"
|
||||
systemctl enable cups.service
|
||||
systemctl enable cronie.service
|
||||
ntpd -qg
|
||||
systemctl enable ntpd.service
|
||||
systemctl disable dhcpcd.service
|
||||
|
|
@ -67,9 +68,14 @@ echo -ne "
|
|||
-------------------------------------------------------------------------
|
||||
"
|
||||
# Remove no password sudo rights
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
sed -i 's/^%wheel ALL=(ALL) NOPASSWD: ALL/# %wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers
|
||||
>>>>>>> 44fb72cfdf009a9815f39848bc8aa7d8f7c8321b
|
||||
sed -i 's/^%wheel ALL=(ALL:ALL) NOPASSWD: ALL/# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/' /etc/sudoers
|
||||
# Add sudo rights
|
||||
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
|
||||
|
||||
rm -r /root/ArchTitus
|
||||
rm -r /home/"$USERNAME"/ArchTitus
|
||||
|
|
|
|||
21
archtitus.sh
21
archtitus.sh
|
|
@ -25,6 +25,7 @@ logo() {
|
|||
██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ██║ ██║ ╚██████╔╝███████║
|
||||
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝
|
||||
"
|
||||
<<<<<<< HEAD
|
||||
}
|
||||
|
||||
sequence() {
|
||||
|
|
@ -35,12 +36,32 @@ sequence() {
|
|||
echo "ERROR! Missing file: setup.conf"
|
||||
exit 1
|
||||
fi
|
||||
=======
|
||||
#!/bin/bash
|
||||
if awk -F/ '$2 == "docker"' /proc/self/cgroup | read; then
|
||||
echo -ne "docker container found script can't install (at the moment)"
|
||||
else
|
||||
bash startup.sh
|
||||
source $SCRIPT_DIR/setup.conf
|
||||
>>>>>>> 44fb72cfdf009a9815f39848bc8aa7d8f7c8321b
|
||||
bash 0-preinstall.sh
|
||||
arch-chroot /mnt /root/ArchTitus/1-setup.sh
|
||||
arch-chroot /mnt /usr/bin/runuser -u "$USERNAME" -- /home/"$USERNAME"/ArchTitus/2-user.sh
|
||||
arch-chroot /mnt /root/ArchTitus/3-post-setup.sh
|
||||
<<<<<<< HEAD
|
||||
logo
|
||||
echo -ne "
|
||||
=======
|
||||
fi
|
||||
echo -ne "
|
||||
-------------------------------------------------------------------------
|
||||
█████╗ ██████╗ ██████╗██╗ ██╗████████╗██╗████████╗██╗ ██╗███████╗
|
||||
██╔══██╗██╔══██╗██╔════╝██║ ██║╚══██╔══╝██║╚══██╔══╝██║ ██║██╔════╝
|
||||
███████║██████╔╝██║ ███████║ ██║ ██║ ██║ ██║ ██║███████╗
|
||||
██╔══██║██╔══██╗██║ ██╔══██║ ██║ ██║ ██║ ██║ ██║╚════██║
|
||||
██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ██║ ██║ ╚██████╔╝███████║
|
||||
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝
|
||||
>>>>>>> 44fb72cfdf009a9815f39848bc8aa7d8f7c8321b
|
||||
-------------------------------------------------------------------------
|
||||
Automated Arch Linux Installer
|
||||
-------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ brave-bin
|
|||
dxvk-bin
|
||||
github-desktop-bin
|
||||
lightly-git
|
||||
lightlyshaders-git
|
||||
mangohud
|
||||
mangohud-common
|
||||
nerd-fonts-fira-code
|
||||
|
|
|
|||
Loading…
Reference in New Issue