sep archinstall et linuxrc

This commit is contained in:
_N3m0 2023-05-26 12:01:11 +02:00
parent 9759b5823b
commit ccc0f634bb
2 changed files with 5 additions and 3 deletions

View File

@ -268,9 +268,7 @@ arch-chroot /mnt rm /script.sh
if [ $INSTALLGUI -eq 1 ]; then if [ $INSTALLGUI -eq 1 ]; then
next "intall gui config" next "intall gui config"
cp linuxrc.sh /mnt/home/$USRNAME cp linuxrc.sh /mnt/home/$USRNAME
arch-chroot /mnt chmod +x /home/$USRNAME/linuxrc.sh echo -e "script installation gui copier a / apres redemarrage executer le"
arch-chroot /mnt sudo /home/$USRNAME/linuxrc.sh $USRNAME
arch-chroot /mnt rm /home/$USRNAME/linuxrc.sh
fi fi
next "reboot" next "reboot"

View File

@ -44,3 +44,7 @@ touch .xinitrc
echo "exec /usr/local/bin/dwm" > .xinitrc echo "exec /usr/local/bin/dwm" > .xinitrc
echo "[[ ! \$DISPLAY && \$XDG_VTNR -eq 1 ]] && startx" >> .bash_profile echo "[[ ! \$DISPLAY && \$XDG_VTNR -eq 1 ]] && startx" >> .bash_profile
echo "installatin fini, appuez sur entrez pour redemarrer"
read
reboot