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-08-13 09:58:17 +00:00
2010-02-26 09:41:16 +00:00
2010-06-05 08:11:11 +00:00
2010-05-17 11:18:33 +00:00
2010-01-15 16:01:22 +00:00
2010-08-06 12:38:30 +00:00
2010-08-01 09:37:36 +00:00
2009-04-28 20:20:13 +00:00
2009-01-06 14:23:38 +00:00
2010-03-30 21:54:25 +00:00
2010-08-06 14:33:42 +00:00
2010-08-06 14:33:42 +00:00
2010-07-12 04:21:50 +00:00
2010-08-01 09:37:36 +00:00
2010-05-14 01:45:05 +00:00
2010-08-06 14:33:42 +00:00
2010-08-06 14:33:42 +00:00
2010-03-04 13:35:57 +00:00
2010-08-01 09:37:36 +00:00
2010-01-03 15:32:25 +00:00
2010-01-09 15:37:24 +00:00
2010-05-12 01:33:51 +00:00
2010-07-30 11:58:18 +00:00
2010-01-10 19:21:23 +00:00
2010-07-20 17:42:13 +00:00
2010-08-02 13:11:27 +00:00
2010-08-01 09:37:36 +00:00