Re: [gentoo-user] how to tell you are using systemd?

2013-08-01 Thread covici
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,

[gentoo-user] how to tell you are using systemd?

2013-07-31 Thread covici
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. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici

Re: [gentoo-user] how to tell you are using systemd?

2013-07-31 Thread Wang Xuerui
在 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...

Re: [gentoo-user] how to tell you are using systemd?

2013-07-31 Thread Canek Peláez Valdés
On Wed, Jul 31, 2013 at 9:39 PM, 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