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
Please register or sign in to comment