Commit Graph

10 Commits

Author SHA1 Message Date
christos
ad6c31cee3 PPR/29909: Manuel Bouyer: sysctl dumps core if kern.consdev returns unknown
device.  If we cannot determine the device name of the console, print the
console dev_t in hex.
2005-04-06 21:13:03 +00:00
atatat
29e15c7932 Move sysctlbyname(), sysctlnametomib(), and sysctlgetmibinfo() from
sysctl(8) into libc, making the minor number jump.  Add prototypes to
sys/sysctl.h, fix sets, modify man pages, etc.  That oughta cover it.
2004-03-25 19:36:26 +00:00
atatat
c915b3168c New sysctl(8) binary. Performs auto-discovery and can add/remove
nodes from the tree.  Never needs to be recompiled again.
2003-12-04 19:49:39 +00:00
lukem
d348d3d723 tweaks for fparseln(3) move from libutil to libc:
- remove #include <util.h> if nothing else needed it
- remove LDFLAGS+=-lutil if nothing else needed it
2002-11-30 03:10:53 +00:00
lukem
7360d7b6ae Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path 2002-08-19 10:16:51 +00:00
christos
58d461858a handle new emulation sysctls, and cleanup function duplication. 2002-03-20 00:23:23 +00:00
tsarna
4f90f5ce45 Add a "-f file" flag to process directives from a file. 2000-03-12 22:56:48 +00:00
itojun
fc838249f5 don't install /usr/sbin/sysctl (backward compat symlink) 2000-01-17 04:22:59 +00:00
itojun
3ea807c958 move sysctl to /sbin/sysctl. symlink from /usr/sbin/sysctl
is supplied for backward compatibility.

add /sbin/sysctl to base/mi (does not remove /usr/sbin/sysctl
as we have a symlink)
2000-01-17 02:36:31 +00:00
itojun
6b2ed69e4e Moved from usr.sbin/sysctl/Makefile,v 2000-01-17 02:30:18 +00:00