diff --git a/etc/systemd/system/march.service b/etc/systemd/system/march.service index 94200a0..797f32f 100644 --- a/etc/systemd/system/march.service +++ b/etc/systemd/system/march.service @@ -2,7 +2,7 @@ Description=March Reboot Service [Service] -ExecStart=/root/arch-reboot.sh +ExecStart=/root/march-reboot.sh [Install] WantedBy=multi-user.target diff --git a/install.sh b/install.sh index f70f7ce..8bdefd7 100755 --- a/install.sh +++ b/install.sh @@ -114,7 +114,7 @@ pacstrap /mnt base base-devel linux linux-firmware 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-reboot.sh /mnt/root/march-reboot.sh chmod +x /mnt/root/arch-chroot.sh diff --git a/root/march-chroot.sh b/root/march-chroot.sh index cbe50f6..e615ea2 100644 --- a/root/march-chroot.sh +++ b/root/march-chroot.sh @@ -16,11 +16,11 @@ if [[ ${PIPESTATUS[0]} -ne 0 ]]; then fi eval set -- "$PARSED" -timezone="CHANGEME" # specified in ./arch-chroot.sh -locale="CHANGEME" -hostname="CHANGEME" -username="CHANGEME" -sudogrp="CHANGEME" +timezone="CHANGEME" # specified in ./march-chroot.sh +locale="CHANGEME" # specified in ./march-chroot.sh +hostname="CHANGEME" # specified in ./march-chroot.sh +username="CHANGEME" # specified in ./march-chroot.sh +sudogrp="CHANGEME" # specified in ./march-chroot.sh CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" @@ -101,7 +101,7 @@ linux /vmlinuz-linux 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 -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 dhcpcd.service