larbs

Luke's Auto-Rice Bootstrapping Scripts: Auto-Setup & Configure Arch Linux
Log | Files | Refs | README | LICENSE

chroot.sh (976B)


      1 #Potential variables: timezone, lang and local
      2 
      3 passwd
      4 
      5 TZuser=$(cat tzfinal.tmp)
      6 
      7 ln -sf /usr/share/zoneinfo/$TZuser /etc/localtime
      8 
      9 hwclock --systohc
     10 
     11 echo "LANG=en_US.UTF-8" >> /etc/locale.conf
     12 echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
     13 echo "en_US ISO-8859-1" >> /etc/locale.gen
     14 locale-gen
     15 
     16 pacman --noconfirm --needed -S networkmanager
     17 systemctl enable NetworkManager
     18 systemctl start NetworkManager
     19 
     20 pacman --noconfirm --needed -S grub && grub-install --target=i386-pc /dev/sda && grub-mkconfig -o /boot/grub/grub.cfg
     21 
     22 pacman --noconfirm --needed -S dialog
     23 larbs() { curl -O https://raw.githubusercontent.com/LukeSmithxyz/LARBS/master/larbs.sh && bash larbs.sh ;}
     24 dialog --title "Install Luke's Rice" --yesno "This install script will easily let you access Luke's Auto-Rice Boostrapping Scripts (LARBS) which automatically install a full Arch Linux i3-gaps desktop environment.\n\nIf you'd like to install this, select yes, otherwise select no.\n\nLuke"  15 60 && larbs