aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-08-17 17:43:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-08-17 17:43:54 -0300
commit90a127db7e09d0518e18f7891b7921518e6141e5 (patch)
tree300995477aa32231d41ee4e84656a52aecfc3272 /share
parentb50ad3991bdd146aa1a184684969b4f6fb53dff2 (diff)
downloadhydra-90a127db7e09d0518e18f7891b7921518e6141e5.tar.gz
hydra-90a127db7e09d0518e18f7891b7921518e6141e5.tar.bz2
Provision: move boot dev setup message to the right place
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/provision3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 14a647d..ffbcce8 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -480,8 +480,9 @@ hydra_sudo_run chroot $WORK update-initramfs -u
# Grub.
if [ "$grub" == "y" ]; then
+ echo "Boot device setup..."
+
if [ "$encrypt" != "y" ]; then
- echo "Boot device setup..."
hydra_sudo_run mkfs.ext4 $boot_device
hydra_sudo_run mount $boot_device $WORK/boot
echo "$reboot_device /boot ext4 defaults,errors=remount-ro 0 2" | $SUDO tee -a $WORK/etc/fstab > /dev/null