Subject: Adding a defopt
To: None <tech-kern@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: tech-kern
Date: 11/12/1999 23:06:49
I'd like to defopt MAXUPRC, after changing it in a kernel config file
and finding it didn't affect anything :-( Having never added a defopt
before, is the following all I need to do? I tested the result, and
it DTRT. MAXUPRC is already documented in options(4) as well...
Simon.
--
Index: conf/files
===================================================================
RCS file: /cvsroot/syssrc/sys/conf/files,v
retrieving revision 1.325
diff -p -u -r1.325 files
--- files 1999/10/25 19:18:10 1.325
+++ files 1999/11/12 07:54:41
@@ -7,6 +7,7 @@
defopt INSECURE
defopt KMEMSTATS
defopt KTRACE
+defopt MAXUPRC
defopt LOCKDEBUG
defopt RTC_OFFSET
defopt DEFCORENAME
Index: kern/init_main.c
===================================================================
RCS file: /cvsroot/syssrc/sys/kern/init_main.c,v
retrieving revision 1.157
diff -p -u -r1.157 init_main.c
--- init_main.c 1999/09/28 14:47:03 1.157
+++ init_main.c 1999/11/12 07:54:41
@@ -44,6 +44,7 @@
#include "fs_nfs.h"
#include "opt_nfsserver.h"
#include "opt_sysv.h"
+#include "opt_maxuprc.h"
#include "rnd.h"