Fixed arch->march errors
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
Description=March Reboot Service
|
Description=March Reboot Service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/root/arch-reboot.sh
|
ExecStart=/root/march-reboot.sh
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ pacstrap /mnt base base-devel linux linux-firmware
|
|||||||
genfstab -U /mnt >> /mnt/etc/fstab
|
genfstab -U /mnt >> /mnt/etc/fstab
|
||||||
|
|
||||||
|
|
||||||
cp $CWD/etc/systemd/system/march.service /mnt/etc/syslll/system/march.service
|
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/arch-chroot.sh
|
chmod +x /mnt/root/arch-chroot.sh
|
||||||
|
|||||||
@@ -16,11 +16,11 @@ if [[ ${PIPESTATUS[0]} -ne 0 ]]; then
|
|||||||
fi
|
fi
|
||||||
eval set -- "$PARSED"
|
eval set -- "$PARSED"
|
||||||
|
|
||||||
timezone="CHANGEME" # specified in ./arch-chroot.sh
|
timezone="CHANGEME" # specified in ./march-chroot.sh
|
||||||
locale="CHANGEME"
|
locale="CHANGEME" # specified in ./march-chroot.sh
|
||||||
hostname="CHANGEME"
|
hostname="CHANGEME" # specified in ./march-chroot.sh
|
||||||
username="CHANGEME"
|
username="CHANGEME" # specified in ./march-chroot.sh
|
||||||
sudogrp="CHANGEME"
|
sudogrp="CHANGEME" # specified in ./march-chroot.sh
|
||||||
|
|
||||||
CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||||
|
|
||||||
@@ -101,7 +101,7 @@ linux /vmlinuz-linux
|
|||||||
initrd /initramfs-linux.img
|
initrd /initramfs-linux.img
|
||||||
options rw cryptdevice=$(blkid $rootpart | cut -d" " -f2 | tr -d \"):cryptroot root=$cryptroot i8042.noloop i8042.nomux i8042.nopnp i8042.reset" > /boot/loader/entries/arch.conf
|
options rw cryptdevice=$(blkid $rootpart | cut -d" " -f2 | tr -d \"):cryptroot root=$cryptroot i8042.noloop i8042.nomux i8042.nopnp i8042.reset" > /boot/loader/entries/arch.conf
|
||||||
|
|
||||||
sed -i "s/arch-reboot.sh/\0 -u $u-s $s/" /etc/systemd/system/march.service
|
sed -i "s/march-reboot.sh/\0 -u $u-s $s/" /etc/systemd/system/march.service
|
||||||
|
|
||||||
systemctl enable march.service
|
systemctl enable march.service
|
||||||
systemctl enable dhcpcd.service
|
systemctl enable dhcpcd.service
|
||||||
|
|||||||
Reference in New Issue
Block a user