diff options
-rwxr-xr-x | install.sh | 4 | ||||
-rwxr-xr-x | post_chroot.sh | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -48,8 +48,8 @@ elif [ "$_kernelflag" -eq 2 ]; then rc-service ntpd start pacman -Sy --confirm basestrap /mnt base openrc seatd-openrc udev intel-ucode - echo "UUID=$UUID_BOOT /boot vfat defaults,noatime 0 2 - UUID=$UUID_ROOT / ext4 defaults,noatime 0 1" > /mnt/etc/fstab + echo "UUID=$UUID_BOOT /boot vfat defaults,noatime 0 2" > /mnt/etc/fstab + echo "UUID=$UUID_ROOT / ext4 defaults,noatime 0 1" >> /mnt/etc/fstab cp post_chroot.sh /mnt else printf ${LIGHTRED}"Wrong kernelflag value.${NoColor}\n" diff --git a/post_chroot.sh b/post_chroot.sh index 7725289..de5ec2a 100755 --- a/post_chroot.sh +++ b/post_chroot.sh @@ -80,7 +80,7 @@ if [ "$_kernelflag" -eq 1 ]; then fi # use dash as sh -pacman -Sy dash +pacman -Sy dash zsh ln -sfT dash /usr/bin/sh mkdir -p /etc/pacman.d/hooks cat <<EOL >> /etc/pacman.d/hooks/bash.hook @@ -97,4 +97,6 @@ Exec = /usr/bin/ln -sfT dash /usr/bin/sh Depends = dash EOL +chsh -s /bin/zsh $_username + rm /post_chroot.sh |