Fixed paths for iptables, suspend and touchpad.conf

This commit is contained in:
TuDatTr
2020-05-24 07:02:16 +02:00
parent 61272c69ca
commit d5711a351b

View File

@@ -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-chroot.sh /mnt/root/march-chroot.sh
cp $CWD/root/march-reboot.sh /mnt/root/march-reboot.sh cp $CWD/root/march-reboot.sh /mnt/root/march-reboot.sh
chmod +x /mnt/root/march-chroot.sh chmod +x /mnt/root/march-chroot.sh
cp $CWD/etc/systemd/system/suspend@.service /root/etc/systemd/system/suspend@.service mkdir -p /mnt/root/etc/systemd/system
cp $CWD/etc/X11/xorg.conf.d/30-touchpad.conf /root/etc/X11/xorg.conf.d/30-touchpad.conf mkdir -p /mnt/root/etc/iptables
cp $CWD/etc/iptables/iptables.rules /root/etc/iptables/iptables.rules 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 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" arch-chroot /mnt /root/march-chroot.sh -t "$timezone" -l "$locale" -h "$hostname" -u "$username" -s "$sudogrp" -c "$cryptroot" -r "$rootpart"