Date: Thu, 15 Apr 2004 14:10:18 -0700 (PDT) From: Cyrille Lefevre <cyrille.lefevre@laposte.net> To: qa@FreeBSD.org Subject: Re: bin/27483: make sysinstall ask for the keymap at installation time Message-ID: <200404152110.i3FLAIoM019944@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/27483; it has been noted by GNATS. From: Cyrille Lefevre <cyrille.lefevre@laposte.net> To: freebsd gnats <freebsd-gnats-submit@freebsd.org> Cc: Subject: Re: bin/27483: make sysinstall ask for the keymap at installation time Date: Thu, 15 Apr 2004 23:06:34 +0200 well, RunningAsInit is effectively more appropriate than getpid() == 1. Index: main.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/sysinstall/main.c,v retrieving revision 1.71 diff -u -I$Id.*$ -I$.+BSD.*$ -r1.71 main.c --- main.c 20 Aug 2003 06:27:21 -0000 1.71 +++ main.c 15 Apr 2004 21:03:33 -0000 @@ -166,6 +166,8 @@ /* Begin user dialog at outer menu */ dialog_clear(); + if (RunningAsInit) + dmenuOpen(&MenuSysconsKeymap, &choice, &scroll, &curr, &max, FALSE); while (1) { choice = scroll = curr = max = 0; dmenuOpen(&MenuInitial, &choice, &scroll, &curr, &max, TRUE); Cyrille Lefevre -- mailto:cyrille.lefevre@laposte.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404152110.i3FLAIoM019944>