mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 21:42:35 +03:00
Revert "Merge pull request #14926 from grahamc/graceful-facetimehd-module-unload-16.03"
This reverts commit71916459a3
, reversing changes made to9d1662c6c9
. I noticed too late that this does not use kmod, like its counterpart on master. See https://github.com/NixOS/nixpkgs/issues/14885
This commit is contained in:
parent
71916459a3
commit
5740226f88
@ -31,7 +31,7 @@ in
|
||||
|
||||
# unload module during suspend/hibernate as it crashes the whole system
|
||||
powerManagement.powerDownCommands = ''
|
||||
${pkgs.module_init_tools}/bin/lsmod | ${pkgs.gnugrep}/bin/grep -q "^facetimehd" && ${pkgs.module_init_tools}/bin/rmmod -f -v facetimehd
|
||||
${pkgs.module_init_tools}/bin/rmmod -f facetimehd
|
||||
'';
|
||||
|
||||
# and load it back on resume
|
||||
|
Loading…
Reference in New Issue
Block a user