nix-config/sh/install/006-fstab
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

11 lines
201 B
Bash

#!/bin/sh
#
# Generate the fstab file so that the filesystem is
# automatically mounted on boot.
#
# https://wiki.archlinux.org/index.php/Installation_guide
set -xe
genfstab -U /mnt > /mnt/etc/fstab