[PATCH] Allow disable of SysV init/rcN.d support at compile time.
Gustavo Sverzut Barbieri
barbieri at profusion.mobi
Wed Sep 8 07:32:59 PDT 2010
On Wed, Sep 8, 2010 at 1:32 AM, Gustavo Sverzut Barbieri
<barbieri at profusion.mobi> wrote:
> This patch adds a cpp definition HAVE_SYSV_COMPAT that is used to
> isolate code dealing with /etc/init.d and /etc/rcN.d for systems where
> it does not make sense (one that does not use sysv or one that is fully
> systemd native).
>
> The patch tries to be as little intrusive as possible, however in
> order to minimize the number of #ifdef'ed regions I've reordered some
> code in path-lookup.c:lookup_paths_init() where all code dealing with
> sysv is now isolated under running_as == MANAGER_SYSTEM as well.
Oops, this version lacked build.h and thus we don't have a nice way to
check if it was enabled/disabled during runtime. A new patch will be
provided.
--
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbieri at gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
More information about the systemd-devel
mailing list