LARBS/chroot.sh

22 lines
879 B
Bash
Raw Normal View History

2017-10-05 09:19:56 +02:00
#Potential variables: timezone, lang and local
2017-10-05 03:12:14 +02:00
2017-10-05 12:33:43 +02:00
passwd
2017-10-05 03:12:14 +02:00
ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
hwclock --systohc
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
echo "en_US ISO-8859-1" >> /etc/locale.gen
locale-gen
2017-10-05 11:55:09 +02:00
pacman --noconfirm --needed -S networkmanager
2017-10-05 09:12:16 +02:00
systemctl enable NetworkManager
systemctl start NetworkManager
2017-10-05 11:55:09 +02:00
pacman --noconfirm --needed -S grub && grub-install --target=i386-pc /dev/sda && grub-mkconfig -o /boot/grub/grub.cfg
2017-10-05 03:12:14 +02:00
2017-10-05 12:02:54 +02:00
pacman --noconfirm --needed -S dialog
2017-10-05 12:05:08 +02:00
larbs() { curl -O http://lukesmith.xyz/larbs/root.sh && bash root.sh ;}
2017-10-05 11:40:13 +02:00
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