systemctl: define less stuff when !HAVE_SYSV_COMPAT
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 26 Mar 2019 09:19:19 +0000 (10:19 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 26 Mar 2019 18:06:48 +0000 (19:06 +0100)
commit2771aaf571fda17bf3a5d83b78d2e016b9be46ce
treec0ea5cd0d039485860280243823e249e30e50183
parentadca059d55fe0a126dbdd62911b0705ddf8e9b8a
systemctl: define less stuff when !HAVE_SYSV_COMPAT

We'd translate our action to sysv runlevel action, only to discard the result
in talk_initctl(). Let's just ifdef the whole thing away.

Fixes #12103.
src/systemctl/systemctl.c
src/systemctl/sysv-compat.c
src/systemctl/sysv-compat.h