Rebecca Cran 3affea8f99 To restart, sysinstall calls execl. Since it will create a new process, we
can't check to see if sysinstall is running as init just by checking if the
PID is 0. Introduce a new option that sets the RunningAsInit flag, and update
the code to check RunningAsInit intstead of getpid().

PR:	bin/38854
Submitted by:	Peter Sedeffow <peter at trumanbrewery.com>
Approved by:	rrs (mentor)
MFC after:	1 month
2010-08-17 09:39:06 +00:00
..
2010-07-30 11:58:18 +00:00
2010-06-11 20:56:40 +00:00
2010-06-11 20:56:40 +00:00
2009-06-24 04:56:13 +00:00