FreeBSD Bugzilla – Attachment 201290 Details for
Bug 235085
[PATCH] Option to make rc.d/sysctl more verbose (again)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add "sysctl_verbose" rc.conf variable.
sysctl_verbose.patch (text/plain), 1.75 KB, created by
Oliver Fromme
on 2019-01-20 17:35:31 UTC
(
hide
)
Description:
Patch to add "sysctl_verbose" rc.conf variable.
Filename:
MIME Type:
Creator:
Oliver Fromme
Created:
2019-01-20 17:35:31 UTC
Size:
1.75 KB
patch
obsolete
>--- libexec/rc/rc.conf.orig 2019-01-20 17:26:43.079328000 +0100 >+++ libexec/rc/rc.conf 2019-01-20 18:24:52.584997000 +0100 >@@ -26,6 +26,7 @@ > #rc_debug="NO" # Set to YES to enable debugging output from rc.d > rc_info="NO" # Enables display of informational messages at boot. > rc_startmsgs="YES" # Show "Starting foo:" messages at boot >+sysctl_verbose="NO" # Print changes made by /etc/sysctl.conf. > rcshutdown_timeout="90" # Seconds to wait before terminating rc.shutdown > early_late_divider="FILESYSTEMS" # Script that separates early/late > # stages of the boot process. Make sure you know >--- libexec/rc/rc.d/sysctl.orig 2019-01-20 17:18:17.163909000 +0100 >+++ libexec/rc/rc.d/sysctl 2019-01-20 17:22:36.510156000 +0100 >@@ -29,7 +29,11 @@ > > for _f in /etc/sysctl.conf /etc/sysctl.conf.local; do > if [ -r ${_f} ]; then >- ${command} ${command_args} ${_f} > /dev/null >+ if checkyesno sysctl_verbose; then >+ ${command} ${command_args} ${_f} >+ else >+ ${command} ${command_args} ${_f} > /dev/null >+ fi > fi > done > } >--- share/man/man5/rc.conf.5.orig 2019-01-20 18:16:13.652706000 +0100 >+++ share/man/man5/rc.conf.5 2019-01-20 18:24:21.145023000 +0100 >@@ -135,6 +135,12 @@ > show > .Dq Starting foo: > when faststart is used (e.g., at boot time). >+.It Va sysctl_verbose >+.Pq Vt bool >+If set to >+.Dq Li YES , >+do not suppress the output from >+.Pa /etc/sysctl.conf . > .It Va early_late_divider > .Pq Vt str > The name of the script that should be used as the >@@ -4383,6 +4389,13 @@ > Defines the total number of seconds to wait for link to become usable, > polled at a 1-second interval. > The default is 30. >+.It Va sysctl_verbose >+.Pq Vt bool >+If set to >+.Dq Li YES , >+do not suppress the output from >+.Pa /etc/sysctl.conf >+at boot. > .It Va rctl_enable > .Pq Vt bool > If set to
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235085
:
201290
|
201292
|
201293