]> git.ipfire.org Git - thirdparty/systemd.git/commit - NEWS
systemctl: drop hardcoded chkconfig invocation
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 27 May 2015 15:04:49 +0000 (17:04 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Thu, 28 May 2015 17:42:45 +0000 (19:42 +0200)
commit0f0467e63b0e0688ae9edb1512c1a2637d62ddb4
tree1ca0ca946985d72a0c45dd7dfe880326d44654d8
parentd31dd62ba290f3f299b65f9319bf5a5436ca8622
systemctl: drop hardcoded chkconfig invocation

Introduce /usr/lib/systemd/systemd-sysv-install [--root=] <action> <name>
abstraction, replacing the direct calling of chkconfig. This allows
distributions to call their specific tools like update-rc.d without patching
systemd.

Ship systemd-sysv-install.SKELETON as an example for packagers how to implement
this.

Drop the --enable-chkconfig configure option.

Document this in README and point to it in NEWS.
Makefile.am
NEWS
README
configure.ac
src/systemctl/systemctl.c
src/systemctl/systemd-sysv-install.SKELETON [new file with mode: 0755]