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:
parent
c039e286b9
commit
9c3a31ff4c
@ -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
|
||||
'';
|
||||
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user