networkd: do not install the socket when networkd is not enabled

This commit is contained in:
Felipe Sateler 2017-08-27 10:49:10 -03:00
parent dcfe072ad6
commit a174f618eb

View File

@ -88,7 +88,7 @@ units = [
'sockets.target.wants/'],
['systemd-journald.socket', '',
'sockets.target.wants/'],
['systemd-networkd.socket', '',
['systemd-networkd.socket', 'ENABLE_NETWORKD',
join_paths(pkgsysconfdir, 'system/sockets.target.wants/')],
['systemd-rfkill.socket', 'ENABLE_RFKILL'],
['systemd-tmpfiles-clean.timer', '',