Hi,

Is there a way to know inside of systemd if it's in a reboot state?

Something like the Linux kernel does [1], keeping the system state in a 
variable.

[1] 
https://elixir.bootlin.com/linux/v4.19.98/source/include/linux/kernel.h#L581

▷ Javier's 🖊
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to