Enable and disable services by using systemd.presets
authorDarshaka Pathirana <dpat@syn-net.org>
Sat, 19 Nov 2016 00:51:54 +0000 (01:51 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 13 Jan 2017 14:04:29 +0000 (15:04 +0100)
commit6e61fc1fc4b79cc4506783c03e441a3686d287d2
tree0a486249dbec17f5d6e066906703d826c01667b9
parent5b0d1600825c2fe273b47adaf6278cba3c241f5c
Enable and disable services by using systemd.presets

By using systemd.presets we can implement our own policy
which services needs to be enabled or disabled on boot-time.

This issue was initially triggered by a problem with the
wpa_supplicant@*.service which failed on boot with an
"Dependency failed for WPA supplicant daemon
(interface-specific version)" error.

See: http://paste.grml.org/2862/
etc/grml/fai/config/scripts/GRMLBASE/15-initsetup