nixpkgs/nixos
Graham Christensen 788122c3c5 facetimehd: Only unload module if it is loaded
The pre-sleep service exits if any command fails. Unloading facetimehd
without it being loaded blocks subsequent commands from running.

Note: `modprobe -r` works a bit better when unloading unused modules,
and is preferrable to `rmmod`. However, the facetimehd module does not
support suspending. In this case, it seems preferable to forcefully
unload the module. `modprobe` does not support a `--force` flag when
removing, so we are left with `rmmod`.

See:
 - https://github.com/NixOS/nixpkgs/pull/14883
 - https://github.com/patjak/bcwc_pcie/wiki#known-issues
2016-04-23 09:37:01 -05:00
..
doc/manual nixos-checkout: Remove 2016-04-20 20:57:02 +02:00
lib Fix X11 tests broken by the removal of -ac 2016-04-12 19:13:47 +02:00
maintainers Update AMI creation script 2016-04-05 11:25:12 +02:00
modules facetimehd: Only unload module if it is loaded 2016-04-23 09:37:01 -05:00
tests cups tests: finally fix them 2016-04-23 16:17:22 +02:00
COPYING
default.nix nix: Add a "dev" output 2016-04-18 21:13:18 +02:00
README
release-combined.nix make all boot tests release critical #14902 2016-04-23 13:12:57 +01:00
release-small.nix
release.nix nixos/tests: Add a test for the Taskserver service 2016-04-05 18:53:31 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.