mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-14 21:03:10 +01:00
activation: remove initrd monitor
This commit is contained in:
parent
24df9d0008
commit
eba8f9c882
|
@ -9,8 +9,8 @@
|
|||
F_BOLD="\033[1m"
|
||||
C_RED="\033[38;5;9m"
|
||||
${pkgs.diffutils}/bin/cmp --silent \
|
||||
<(readlink /run/current-system/{initrd,kernel,kernel-modules}) \
|
||||
<(readlink $systemConfig/{initrd,kernel,kernel-modules}) \
|
||||
<(readlink /run/current-system/{kernel,kernel-modules}) \
|
||||
<(readlink $systemConfig/{kernel,kernel-modules}) \
|
||||
|| echo -e "''${F_BOLD}''${C_RED}Kernel version changed, reboot is advised.''${NO_FORMAT}"
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue