Update chrooted.sh

main
Matt C 3 years ago committed by GitHub
parent 9384e75199
commit 0e1b23b5cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,7 +4,6 @@
echo "chrooted in the new system, running as $(whoami)"
echo "CrystalLive" > /etc/hostname
#reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist
echo "sudo reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist" >> /usr/bin/mirrorsetup
chmod +x /usr/bin/mirrorsetup
@ -14,9 +13,6 @@ useradd -m crystal
usermod -p $(echo "crystal" | openssl passwd -6 -stdin) crystal
usermod -p $(echo "crystal" | openssl passwd -6 -stdin) root
chsh -s $(which zsh) crystal
if [[ -d /etc/crystal/bootopts ]]; then
chmod +x /etc/crystal/bootopts/*
fi
cat >> /home/crystal/.zshrc << EOF
PROMPT="%n@%m %~ %# "

Loading…
Cancel
Save