summaryrefslogtreecommitdiff
path: root/alis-reboot.sh
blob: 8c2bfbdb92df86f00876dfccd9582ad61d4fa09e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash
set -e

# Arch Linux Install Script (alis) installs unattended, automated
# and customized Arch Linux system.
# Copyright (C) 2018 picodotdev

source alis.conf

if [ -f alis.asciinema ]; then
    mkdir -p /mnt/var/log
    cp alis.asciinema /mnt/var/log/alis.asciinema
fi

umount -R /mnt/boot
umount -R /mnt
reboot