On Thu, Feb 11, 2016 at 11:59:09PM +0530, Pirate Praveen wrote:
> Checking /proc/cmdline was working in my test machine as I had systemd before 
> it became the default.
> 
> I think checking /proc/1/cmdline will be a better method of checking systemd.

/proc/1/cmdline will be wrong in chroots if the chroot doesn't use systemd
but the host system does.  You want to check /run/systemd instead.

-- 
A tit a day keeps the vet away.

Reply via email to