mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
cli: dont signal reboot for initrd changes
This commit is contained in:
parent
d101e50318
commit
d95f687c26
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@
|
|||
|
||||
(writeShellScriptBin "nixos-check-reboot" ''
|
||||
set -e
|
||||
booted="$(readlink /run/booted-system/{initrd,kernel,kernel-modules})"
|
||||
built="$(readlink /nix/var/nix/profiles/system/{initrd,kernel,kernel-modules})"
|
||||
booted="$(readlink /run/booted-system/kernel)"
|
||||
built="$(readlink /nix/var/nix/profiles/system/kernel)"
|
||||
if [ "$booted" = "$built" ]
|
||||
then
|
||||
echo OK
|
||||
|
|
Loading…
Reference in a new issue