Eliminate use of deprecated flag to sysctl.
Noted by: mjg Approved by: bcr (mentor)
This commit is contained in:
parent
8a28ed6f33
commit
88152717d5
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40165
1 changed files with 4 additions and 4 deletions
|
@ -3339,7 +3339,7 @@ kern.timecounter.hardware: ACPI-fast</screen>
|
|||
<varname>kern.timecounter.hardware</varname>
|
||||
&man.sysctl.3;.</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>sysctl -w kern.timecounter.hardware=i8254</userinput>
|
||||
<screen>&prompt.root; <userinput>sysctl kern.timecounter.hardware=i8254</userinput>
|
||||
kern.timecounter.hardware: TSC -> i8254</screen>
|
||||
|
||||
<para>Your computer should now start keeping more accurate
|
||||
|
@ -5046,7 +5046,7 @@ C:\="DOS"</programlisting>
|
|||
<varname>vfs.usermount</varname> to
|
||||
<literal>1</literal>.</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>sysctl -w vfs.usermount=1</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>sysctl vfs.usermount=1</userinput></screen>
|
||||
|
||||
<para>To make this persist across reboots, add the line
|
||||
<literal><varname>vfs.usermount</varname>=1</literal> to
|
||||
|
@ -7273,7 +7273,7 @@ Key F15 A A Menu Workplace Nop</programlisting>
|
|||
like this, where <literal>300</literal> is the limit in
|
||||
packets per second:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>sysctl -w net.inet.icmp.icmplim=300</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>sysctl net.inet.icmp.icmplim=300</userinput></screen>
|
||||
|
||||
<para>If you do not want to see messages about this in your
|
||||
log files, but you still want the kernel to do response
|
||||
|
@ -7281,7 +7281,7 @@ Key F15 A A Menu Workplace Nop</programlisting>
|
|||
<varname>net.inet.icmp.icmplim_output</varname> sysctl
|
||||
variable to disable the output like this:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>sysctl -w net.inet.icmp.icmplim_output=0</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>sysctl net.inet.icmp.icmplim_output=0</userinput></screen>
|
||||
|
||||
<para>Finally, if you want to disable response limiting, you
|
||||
can set the <varname>net.inet.icmp.icmplim</varname> sysctl
|
||||
|
|
Loading…
Reference in a new issue