void-runit
void-runit copied to clipboard
Check the write permission on `/sys/power/disk` when hibernate
Currently, only the permission on /sys/power/state
is tested, which may cause an unintended operating mode of hibernation if /sys/power/disk
is not writable. With this PR, the permission on /sys/power/disk
is also be tested.