From d5711a351b2a4e90c2015b2e3657f5b45d3696fc Mon Sep 17 00:00:00 2001 From: TuDatTr Date: Sun, 24 May 2020 07:02:16 +0200 Subject: [PATCH] Fixed paths for iptables, suspend and touchpad.conf --- install.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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"