:: Re: [DNG] does systemd set runlevel…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Tomasz Torcz
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] does systemd set runlevel 0 in utmp on shutdown?
On Fri, Aug 28, 2015 at 11:09:08PM +0200, tilt! wrote:
> Does systemd write RUN_LVL utmp entries in a compliant fashion;
> especially, when entering shutdown, does it generate an entry of
> ut_type RUN_LVL with ut_pid set to 0?


https://github.com/systemd/systemd/blob/master/src/shared/utmp-wtmp.c#L173



-- 
Tomasz Torcz               "Never underestimate the bandwidth of a station
xmpp: zdzichubg@???    wagon filled with backup tapes." -- Jim Gray