aszlig 030895f075
nixos/dhcpcd: Only run resume commands if enabled.
The networkd implementation sets systemd.services.dhcpcd.enable to
false in nixos/modules/tasks/network-interfaces-systemd.nix. So we need
to respect that in the dhcpcd module.

If we don't, the resumeCommand is set nevertheless, which causes the
post-resume.service to fail after resuming:

Failed to reload dhcpcd.service: Unit dhcpcd.service is masked.
post-resume.service: main process exited, code=exited, status=1/FAILURE
Failed to start Post-Resume Actions.
Dependency failed for Post-Resume Actions.
Unit post-resume.service entered failed state.
post-resume.service failed.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-02-22 08:09:04 +01:00
..
2014-09-29 09:45:59 -04:00
2014-12-28 17:26:59 +08:00
2014-09-03 11:31:51 +04:00
2014-11-26 16:29:24 -08:00
2015-02-05 12:09:59 +01:00
2014-09-26 10:49:09 +02:00
2014-11-12 23:20:47 +01:00
2014-03-19 22:04:35 -04:00
2015-01-28 15:34:42 +01:00
2014-10-15 03:57:00 +02:00
2014-09-22 12:09:53 +01:00
2014-10-13 13:10:49 +02:00
2015-01-21 05:09:47 +01:00
2014-08-26 21:24:09 -04:00