Clear /proc/sys/kernel/hotplug again

Otherwise the kernel will pointlessly try to invoke /sbin/hotplug all
the time.  Another feature lost in the systemd switch.
This commit is contained in:
Eelco Dolstra 2013-03-27 22:08:25 +01:00
parent c039e286b9
commit 9c3a31ff4c

View File

@ -228,7 +228,15 @@ in
(isYes "NET")
];
system.activationScripts."set-firmware-path" =
"echo -n ${config.hardware.firmware} 2>/dev/null > /sys/module/firmware_class/parameters/path";
system.activationScripts.setFirmwarePath =
''
echo -n ${config.hardware.firmware} 2>/dev/null > /sys/module/firmware_class/parameters/path
'';
system.activationScripts.clearHotplug =
''
echo "" > /proc/sys/kernel/hotplug
'';
};
}