bin/27483: make sysinstall ask for the keymap at installation time

Peter Pentchev roam at ringlet.net
Thu Mar 4 07:45:58 PST 2004


On Thu, Mar 04, 2004 at 04:28:09PM +0100, Cyrille Lefevre wrote:
> cvs diff against -current (FreeBSD 5.2-CURRENT #1: Sat Jan 31 15:17:05 CET 2004)
> anyone to commit this PR ?
> thanks in advance.
>  
[snip]
>      /* Begin user dialog at outer menu */
>      dialog_clear();
> +    if (getpid() == 1)
> +        dmenuOpen(&MenuSysconsKeymap, &choice, &scroll, &curr, &max, FALSE);
>      while (1) {

Just a minor comment: shouldn't RunningAsInit be used here instead of
a getpid() invocation? :)

G'luck,
Peter

-- 
Peter Pentchev	roam at ringlet.net    roam at sbnd.net    roam at FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This sentence contains exactly threee erors.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-qa/attachments/20040304/f3deeb8b/attachment.bin


More information about the freebsd-qa mailing list