Silence a harmless warning on kernels without the 'path' parameter for firmware_class.

This commit is contained in:
Shea Levy 2013-03-05 20:33:41 -05:00
parent af152556e3
commit 35093b8a28

View file

@ -233,6 +233,6 @@ in
boot.extraModprobeConfig = "options firmware_class path=${config.hardware.firmware}";
system.activationScripts."set-firmware-path" =
"echo -n ${config.hardware.firmware} > /sys/module/firmware_class/parameters/path";
"echo -n ${config.hardware.firmware} 2>/dev/null > /sys/module/firmware_class/parameters/path";
};
}