summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/sysdoc/sysdoc.sh12
-rw-r--r--tools/tools/sysdoc/tunables.mdoc7
2 files changed, 4 insertions, 15 deletions
diff --git a/tools/tools/sysdoc/sysdoc.sh b/tools/tools/sysdoc/sysdoc.sh
index b07c53d..c428174 100644
--- a/tools/tools/sysdoc/sysdoc.sh
+++ b/tools/tools/sysdoc/sysdoc.sh
@@ -88,7 +88,7 @@ EOF
# tunables in our tunables.mdoc file and generate
# the final 'inner circle' of our manual page.
markup_create() {
- sort -u < _names | \
+ sort < _names | \
xargs -n 1 /bin/sh ./sysctl.sh \
> markup.file \
2> tunables.TODO
@@ -238,13 +238,9 @@ if [ -z "$LOCATION" ] ;
&& for x in `find $LOCATION -name '*.kld'` \
$LOCATION/kernel; \
do nm $x | \
- sed -n '/sysctl___/ {
- 's/[\.a-z_]*sysctl___//g'
- 's/_/./g'
- p
- }' | \
- awk {'print $3'} | \
- sort -u > _names;
+ grep ' sysctl___' | uniq | \
+ sed 's/sysctl___//g' | sed 's/_/./g' | \
+ awk {'print $3'} > _names;
done;
markup_create
page_create
diff --git a/tools/tools/sysdoc/tunables.mdoc b/tools/tools/sysdoc/tunables.mdoc
index 4702ea3..8b426e6 100644
--- a/tools/tools/sysdoc/tunables.mdoc
+++ b/tools/tools/sysdoc/tunables.mdoc
@@ -1093,13 +1093,6 @@ line programs.
kern.quantum
---
-kern.random.adaptors
-str
-
-Displays registered PRNG adaptors (sources).
-This is a read-only variable.
-
----
kern.random.sys.burst
---
OpenPOWER on IntegriCloud