diff --git a/install.sh b/install.sh index 1f309ff..af2d494 100755 --- a/install.sh +++ b/install.sh @@ -117,9 +117,11 @@ cp $CWD/etc/systemd/system/march.service /mnt/etc/systemd/system/march.service cp $CWD/root/march-chroot.sh /mnt/root/march-chroot.sh cp $CWD/root/march-reboot.sh /mnt/root/march-reboot.sh chmod +x /mnt/root/march-chroot.sh -cp $CWD/etc/systemd/system/suspend@.service /root/etc/systemd/system/suspend@.service -cp $CWD/etc/X11/xorg.conf.d/30-touchpad.conf /root/etc/X11/xorg.conf.d/30-touchpad.conf -cp $CWD/etc/iptables/iptables.rules /root/etc/iptables/iptables.rules +mkdir -p /mnt/root/etc/systemd/system +mkdir -p /mnt/root/etc/iptables +cp $CWD/etc/systemd/system/suspend@.service /mnt/root/etc/systemd/system/suspend@.service +cp $CWD/etc/X11/xorg.conf.d/30-touchpad.conf /mnt/root/etc/X11/xorg.conf.d/30-touchpad.conf +cp $CWD/etc/iptables/iptables.rules /mnt/root/etc/iptables/iptables.rules chmod +x /mnt/root/march-reboot.sh arch-chroot /mnt /root/march-chroot.sh -t "$timezone" -l "$locale" -h "$hostname" -u "$username" -s "$sudogrp" -c "$cryptroot" -r "$rootpart"