cp+exec+rm linuxrc on mount
This commit is contained in:
parent
41244a1639
commit
0efe6ffa93
|
@ -266,7 +266,10 @@ arch-chroot /mnt /script.sh
|
||||||
arch-chroot /mnt rm /script.sh
|
arch-chroot /mnt rm /script.sh
|
||||||
|
|
||||||
if [ $INSTALLGUI -eq 1 ]; then
|
if [ $INSTALLGUI -eq 1 ]; then
|
||||||
arch-chroot /mnt sudo ./linuxrc.sh
|
cp linuxrc.sh /mnt/home/$USRNAME
|
||||||
|
arch-chroot /mnt chmod +x /home/$USRNAME/linuxrc.sh
|
||||||
|
arch-chroot /mnt sudo /home/$USRNAME/linuxrc.sh
|
||||||
|
arch-chroot /mnt rm /home/$USRNAME/linuxrc.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
next "reboot"
|
next "reboot"
|
||||||
|
|
Loading…
Reference in New Issue