summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/modules/system/boot/stage-1-init.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-1-init.sh b/nixos/modules/system/boot/stage-1-init.sh
index af57310bda7d..74d69318dc05 100644
--- a/nixos/modules/system/boot/stage-1-init.sh
+++ b/nixos/modules/system/boot/stage-1-init.sh
@@ -267,7 +267,6 @@ lvm vgchange -ay
if test -n "$debug1devices"; then fail; fi
-@postDeviceCommands@
# Check the specified file system, if appropriate.
@@ -484,6 +483,8 @@ if test -e /sys/power/resume -a -e /sys/power/disk; then
fi
fi
+@postDeviceCommands@
+
# If we have a path to an iso file, find the iso and link it to /dev/root
if [ -n "$isoPath" ]; then
mkdir -p /findiso