Skip to content
Commit 16d25f4f authored by Franz Pletz's avatar Franz Pletz
Browse files

Check if /proc/sys/kernel/hotplug exists before writing

If a kernel without CONFIG_UEVENT_HELPER set is used with NixOS, the file
/proc/sys/kernel/hotplug does not exist. Before writing to it to disable
this deprecated mechanism, we have to ensure it actually exists because
otherwise the activation script will fail.
parent 05a9e34f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment