diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-04-15 17:14:16 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-04-15 17:14:16 -0400 |
commit | cf658be1d5c42bae0a375cd4151abd5c4b0ac085 (patch) | |
tree | bcfd9c078f249df1e445443a9f4d9c188fdba3c4 | |
parent | 5ec232b64f70bfa6ce195e4b24429aefa76cd631 (diff) |
changes
-rwxr-xr-x | build.sh | 10 | ||||
-rwxr-xr-x | config.sh | 6 | ||||
-rwxr-xr-x | install.sh | 3 |
3 files changed, 10 insertions, 9 deletions
@@ -7,19 +7,17 @@ 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 +export USE=czar +grep "^$USE" /etc/passwd || useradd -m $USE +usermod $USE -aG wheel -s /bin/zsh timedatectl set-ntp true -if [ ! -e /home/$USER/.ssh/id_rsa ]; then sudo -u $USER ssh-keygen; fi +if [ ! -e /home/$USE/.ssh/id_rsa ]; then sudo -u $USE ssh-keygen; fi sh regional.sh # Region specific setup hwclock --systohc sh mod.sh ip link -echo -n "wpa_supplicant@" -read INTER systemctl enable wpa_supplicant@$INTER sh source.sh @@ -8,7 +8,7 @@ for file in $(find src -type f); do done for file in $(find home -type f); do - export clean=/home/$USER/$(echo $file | cut -c 4-) - install -o $USER -d $(dirname $clean) - install -o $USER $file $clean + export clean=/home/$USE/$(echo $file | cut -c 4-) + install -o $USE -d $(dirname $clean) + install -o $USE $file $clean done @@ -44,6 +44,9 @@ cp -r . /mnt touch installed fi #echo "arch-chroot into the new system and run dotfiles/build.sh" +ip link +echo -n "wpa_supplicant@" +read INTER arch-chroot /mnt << EOF cd dotfiles sh build.sh |