Date: Tue, 17 Aug 2010 09:39:06 +0000 (UTC) From: Bruce Cran <brucec@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/sysinstall globals.c install.c main.c msg.c system.c termcap.c Message-ID: <201008170939.o7H9dNIp000318@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
brucec 2010-08-17 09:39:06 UTC FreeBSD src repository Modified files: usr.sbin/sysinstall globals.c install.c main.c msg.c system.c termcap.c Log: SVN rev 211417 on 2010-08-17 09:39:06Z by brucec 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 Revision Changes Path 1.29 +0 -3 src/usr.sbin/sysinstall/globals.c 1.390 +1 -1 src/usr.sbin/sysinstall/install.c 1.84 +39 -19 src/usr.sbin/sysinstall/main.c 1.61 +1 -1 src/usr.sbin/sysinstall/msg.c 1.137 +9 -3 src/usr.sbin/sysinstall/system.c 1.35 +1 -1 src/usr.sbin/sysinstall/termcap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008170939.o7H9dNIp000318>