0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

Revert "linux: disable UEVENT_HELPER*"

This reverts commit 9f87f3ccb0 because
it causes /proc/sys/kernel/hotplug to not be cleared on Linux <= 3.14.
This commit is contained in:
Eelco Dolstra 2015-03-06 15:59:06 +01:00
parent f110e6721f
commit 3b9b620656
2 changed files with 2 additions and 3 deletions

View file

@ -236,6 +236,8 @@ in
system.activationScripts.udevd =
''
echo "" > /proc/sys/kernel/hotplug
# Regenerate the hardware database /var/lib/udev/hwdb.bin
# whenever systemd changes.
if [ ! -e /var/lib/udev/prev-systemd -o "$(readlink /var/lib/udev/prev-systemd)" != ${config.systemd.package} ]; then