# fix gui not showing up
sed -i 's/^#logind-check-graphical=.*/logind-check-graphical=true/' /etc/lightdm/lightdm.conf
-[ -e /etc/systemd/system ] || mkdir -p /etc/systemd/system
-cp /root/instantARCH/data/instantarch.service /etc/systemd/system/instantarch.service
-
# needed to get internet to work
systemctl enable lightdm
systemctl enable NetworkManager
-systemctl enable instantarch
-
-systemctl start instantarch
# enable swap
systemctl enable systemd-swap
cd /root/instantARCH
-# wait for xsession to start
-while ! pgrep lightdm; do
- sleep 10
-done
-
bash ./lang/xorg.sh
sleep 1
bash ./lang/locale.sh
-
-systemctl disable instantarch