diff options
-rw-r--r-- | usr.sbin/config/cmd.c | 12 | ||||
-rw-r--r-- | usr.sbin/config/config.8 | 5 | ||||
-rw-r--r-- | usr.sbin/config/ukc.c | 5 |
3 files changed, 5 insertions, 17 deletions
diff --git a/usr.sbin/config/cmd.c b/usr.sbin/config/cmd.c index 275905bcd50..2e9b60329f0 100644 --- a/usr.sbin/config/cmd.c +++ b/usr.sbin/config/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.12 2004/01/04 18:30:05 deraadt Exp $ */ +/* $OpenBSD: cmd.c,v 1.13 2004/06/08 20:59:28 mcbride Exp $ */ /* * Copyright (c) 1999-2001 Mats O Jansson. All rights reserved. @@ -25,7 +25,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: cmd.c,v 1.12 2004/01/04 18:30:05 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: cmd.c,v 1.13 2004/06/08 20:59:28 mcbride Exp $"; #endif #include <sys/types.h> @@ -60,7 +60,6 @@ cmd_table_t cmd_table[] = { {"exit", Xexit, "", "Exit, without saving changes"}, {"quit", Xquit, "", "Quit, saving current changes"}, {"timezone", Xtimezone, "[mins [dst]]", "Show/change timezone"}, - {"nmbclust", Xnmbclusters, "[number]", "Show/change NMBCLUSTERS"}, {"cachepct", Xbufcachepct, "[number]", "Show/change BUFCACHEPERCENT"}, {"nkmempg", Xnkmempg, "[number]", "Show/change NKMEMPAGES"}, {"shmseg", Xshmseg, "[number]", "Show/change SHMSEG"}, @@ -307,13 +306,6 @@ int_variable_adjust(const cmd_t *cmd, int idx, const char *name) } int -Xnmbclusters(cmd_t *cmd) -{ - int_variable_adjust(cmd, I_NMBCLUSTERS, "nmbclusters"); - return (CMD_CONT); -} - -int Xbufcachepct(cmd_t *cmd) { int_variable_adjust(cmd, I_BUFCACHEPCT, "bufcachepercent"); diff --git a/usr.sbin/config/config.8 b/usr.sbin/config/config.8 index e69172da4e6..fac049ac457 100644 --- a/usr.sbin/config/config.8 +++ b/usr.sbin/config/config.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: config.8,v 1.42 2004/01/07 19:10:08 jmc Exp $ +.\" $OpenBSD: config.8,v 1.43 2004/06/08 20:59:29 mcbride Exp $ .\" $NetBSD: config.8,v 1.10 1996/08/31 20:58:16 mycroft Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -347,9 +347,6 @@ Change the .Va tz timezone structure. Without arguments, displays its current value. -.It Ic nmbclust Op Ar number -Change the NMBCLUSTERS value. -Without arguments, displays its current value. .It Ic cachepct Op Ar number Change the BUFCACHEPERCENT value. Without arguments, displays its current value. diff --git a/usr.sbin/config/ukc.c b/usr.sbin/config/ukc.c index f8147f742fe..a3e9051c751 100644 --- a/usr.sbin/config/ukc.c +++ b/usr.sbin/config/ukc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ukc.c,v 1.12 2004/01/04 00:47:01 deraadt Exp $ */ +/* $OpenBSD: ukc.c,v 1.13 2004/06/08 20:59:29 mcbride Exp $ */ /* * Copyright (c) 1999-2001 Mats O Jansson. All rights reserved. @@ -25,7 +25,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: ukc.c,v 1.12 2004/01/04 00:47:01 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: ukc.c,v 1.13 2004/06/08 20:59:29 mcbride Exp $"; #endif #include <sys/types.h> @@ -139,7 +139,6 @@ WARNING this kernel doesn't support pseudo devices.\n"); nopdev = 1; } - check_int(I_NMBCLUSTERS, "NMCLUSTERS"); check_int(I_BUFCACHEPCT, "BUFCACHEPERCENT"); check_int(I_NKMEMPG, "NKMEMPAGES"); check_int(I_SHMSEG, "SHMSEG"); |