diff options
author | picodotdev <pico.dev@gmail.com> | 2018-07-22 03:17:47 +0200 |
---|---|---|
committer | picodotdev <pico.dev@gmail.com> | 2018-07-22 10:43:52 +0200 |
commit | 6669bf3efd917d78c10d2bfa49cecd8ac8363f3f (patch) | |
tree | e01c86a595be39f67814a6c5417b4795df04c04f /alis-recovery-reboot.sh | |
parent | 9a4207be11a1f76c50469a391a5a0fc19e9a299d (diff) |
Use asciinema for record install and log
Fixes #22
Diffstat (limited to 'alis-recovery-reboot.sh')
-rw-r--r-- | alis-recovery-reboot.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/alis-recovery-reboot.sh b/alis-recovery-reboot.sh new file mode 100644 index 0000000..909c718 --- /dev/null +++ b/alis-recovery-reboot.sh @@ -0,0 +1,16 @@ +#!/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-recovery.asciinema ]; then + mkdir -p /mnt/var/log + cp alis-recovery.asciinema /mnt/var/log/alis-recovery.asciinema +fi + +umount -R /mnt +reboot
\ No newline at end of file |