:: Re: [DNG] Our friendly community
Góra strony
Delete this message
Reply to this message
Autor: Tomasz Torcz
Data:  
Dla: dng
Temat: Re: [DNG] Our friendly community
On Fri, Dec 18, 2015 at 04:27:32PM +0000, Rainer Weikusat wrote:
> >> you'll note that the
> >>
> >> if (init_is_systemd)F {
> >>     do some systemd stuff;
> >> } else {
> >>     /* syslog(LOG_EMERG, "ESYADMINDEPRECATED!!!"); */
> >> }

> >>
> >> is nothing but "systemd support code added to some package".
> >
> > Can't find the string "ESYADMINDEPRECATED" in the source for
> > libsystemd0.
>
> That's not really surprising as there is no source for
> 'libsystemd0'. It's a part of systemd,
>
> https://packages.debian.org/sid/libsystemd0
>
> and the source of that doesn't contain 'if (init_is_systemd)' either.


That was pseudo-code. The real function name is sd_booted().

-- 
Tomasz Torcz                 Morality must always be based on practicality.
xmpp: zdzichubg@???                -- Baron Vladimir Harkonnen