Skip to content

Commit

Permalink
Resume from hibernate before postDeviceCommands
Browse files Browse the repository at this point in the history
Should work for me, because I don't want to be asked for ZFS credentials
when I can resume
  • Loading branch information
infinisil committed Oct 16, 2022
1 parent 83b198a commit 448fe5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/modules/system/boot/stage-1-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ lvm vgchange -ay
if test -n "$debug1devices"; then fail; fi


@postDeviceCommands@


# Check the specified file system, if appropriate.
Expand Down Expand Up @@ -477,6 +476,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
Expand Down

0 comments on commit 448fe5d

Please sign in to comment.