Wang Xuerui <idontknw.w...@gmail.com> wrote:

> 在 2013-8-1 上午10:26, <cov...@ccs.covici.com>写道:
> >
> > Can a shell script tell if systemd is the init?  I have a couple of
> > places where it would be nice to know this.
> >
> > Thanks in advance for any suggestions.
> 
> Check /proc/1/comm or something like that, IIRC...

OK, thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         cov...@ccs.covici.com

Reply via email to