From aa10033e77e9c095e7b66bf13a51ce0ff5c66e50 Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Wed, 15 Apr 2020 15:57:00 -0400
Subject: added scripts and conf
---
build.sh | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100755 build.sh
(limited to 'build.sh')
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..62f5101
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+if [ ! -e work/pacman ]; then
+ touch work/pacman
+ yes | pacman -Syu --needed $(cat packages | xargs echo)
+fi
+cat services | xargs systemctl enable
+
+ip link
+export USER=czar
+grep "$USER" /etc/passwd || useradd -m $USER
+usermod $USER -aG wheel -s /bin/zsh
+timedatectl set-ntp true
+echo | sudo -u czar ssh-keygen
+
+sh regional.sh # Region specific setup
+hwclock --systohc
+
+passwd
+
+sh mod.sh
+ip link
+echo -n "wpa_supplicant@"
+read INTER
+systemctl enable wpa_supplicant@$INTER
+
+sh source.sh
+sh config.sh
+
+grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB
+grub-mkconfig -o /boot/grub/grub.cfg
+mkinitcpio -P
--
cgit