nix-config/sh/install/026-cleanup
Donovan Glover 4e81aab657
Move installation steps to install directory
This helps separate the installation process from the other scripts that
are usually ran after a reboot, although this may change in the future
if chroot is preferred over executing the commands later.
2018-09-06 15:18:39 -04:00

16 lines
322 B
Bash

#!/bin/sh
#
# The installation process is done. Unmount the filesystem and
# restart the computer in order to boot into the new system.
#
# Alternatively, you can perform more operations with chroot
# before you unmount and reboot.
#
# https://wiki.archlinux.org/index.php/Installation_guide
set -xe
umount /mnt
reboot