clean config files

This commit is contained in:
Simon Rieger 2022-10-26 01:00:24 +02:00
parent 436ebd605a
commit b64a4e2978

View file

@ -1577,13 +1577,6 @@ read -s -p "Please choose a passwort for root!!! " rootpass
echo "root:${rootpass}" > root-keys.txt
arch-chroot ${mountpoint} chpasswd < root-keys.txt
# config.fish
mkdir -p ${mountpoint}/root/.config/fish/
cp /opt/${repo}/configs/config.fish ${mountpoint}/root/.config/fish/config.fish
touch ${mountpoint}/root/.bash_profile
touch ${mountpoint}/home/"${user}"/.bash_profile
if [ ${autologin} != "n" ]; then
mkdir -p ${mountpoint}/etc/systemd/system/getty\@tty1.service.d/
echo "[Service]" > ${mountpoint}/etc/systemd/system/getty\@tty1.service.d/autologin.conf