Merge branch 'ChrisTitusTech-main'

updating with main
This commit is contained in:
mfgbhatti 2022-02-16 15:59:49 +00:00
commit 7b81ea34c9
4 changed files with 31 additions and 1 deletions

View File

@ -48,6 +48,10 @@ localectl --no-ask-password set-locale LANG="$LOCALE" LC_TIME="$LOCALE"
localectl --no-ask-password set-keymap --no-convert "$KEYMAP" localectl --no-ask-password set-keymap --no-convert "$KEYMAP"
# Add sudo no password rights # 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 sed -i 's/^# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/%wheel ALL=(ALL:ALL) NOPASSWD: ALL/' /etc/sudoers
#Add parallel downloading #Add parallel downloading

View File

@ -55,6 +55,7 @@ echo -ne "
------------------------------------------------------------------------- -------------------------------------------------------------------------
" "
systemctl enable cups.service systemctl enable cups.service
systemctl enable cronie.service
ntpd -qg ntpd -qg
systemctl enable ntpd.service systemctl enable ntpd.service
systemctl disable dhcpcd.service systemctl disable dhcpcd.service
@ -67,9 +68,14 @@ echo -ne "
------------------------------------------------------------------------- -------------------------------------------------------------------------
" "
# Remove no password sudo rights # 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 sed -i 's/^%wheel ALL=(ALL:ALL) NOPASSWD: ALL/# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/' /etc/sudoers
# Add sudo rights # Add sudo rights
sed -i 's/^# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers 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 /root/ArchTitus
rm -r /home/"$USERNAME"/ArchTitus rm -r /home/"$USERNAME"/ArchTitus

View File

@ -25,6 +25,7 @@ logo() {
██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ██║ ██║ ╚██████╔╝███████║ ██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ██║ ██║ ╚██████╔╝███████║
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝
" "
<<<<<<< HEAD
} }
sequence() { sequence() {
@ -35,12 +36,32 @@ sequence() {
echo "ERROR! Missing file: setup.conf" echo "ERROR! Missing file: setup.conf"
exit 1 exit 1
fi 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 bash 0-preinstall.sh
arch-chroot /mnt /root/ArchTitus/1-setup.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 /usr/bin/runuser -u "$USERNAME" -- /home/"$USERNAME"/ArchTitus/2-user.sh
arch-chroot /mnt /root/ArchTitus/3-post-setup.sh arch-chroot /mnt /root/ArchTitus/3-post-setup.sh
<<<<<<< HEAD
logo logo
echo -ne " echo -ne "
=======
fi
echo -ne "
-------------------------------------------------------------------------
█████╗ ██████╗ ██████╗██╗ ██╗████████╗██╗████████╗██╗ ██╗███████╗
██╔══██╗██╔══██╗██╔════╝██║ ██║╚══██╔══╝██║╚══██╔══╝██║ ██║██╔════╝
███████║██████╔╝██║ ███████║ ██║ ██║ ██║ ██║ ██║███████╗
██╔══██║██╔══██╗██║ ██╔══██║ ██║ ██║ ██║ ██║ ██║╚════██║
██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ██║ ██║ ╚██████╔╝███████║
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝
>>>>>>> 44fb72cfdf009a9815f39848bc8aa7d8f7c8321b
------------------------------------------------------------------------- -------------------------------------------------------------------------
Automated Arch Linux Installer Automated Arch Linux Installer
------------------------------------------------------------------------- -------------------------------------------------------------------------

View File

@ -3,7 +3,6 @@ brave-bin
dxvk-bin dxvk-bin
github-desktop-bin github-desktop-bin
lightly-git lightly-git
lightlyshaders-git
mangohud mangohud
mangohud-common mangohud-common
nerd-fonts-fira-code nerd-fonts-fira-code