git: rc.d/sysctl: Only set a sysctl when give a new value
Sepherosa Ziehau
sepherosa at gmail.com
Tue Feb 12 02:14:18 PST 2019
Thank you!
On Mon, Feb 4, 2019 at 1:34 PM Aaron LI <aly at crater.dragonflybsd.org> wrote:
>
>
> commit dcd3d479354e1d254b02314765c7c397b2c35ea0
> Author: Aaron LI <aly at aaronly.me>
> Date: Mon Feb 4 13:22:02 2019 +0800
>
> rc.d/sysctl: Only set a sysctl when give a new value
>
> For a sysctl, compare the given value with its current value, and only
> update the value if the new value is different. This suppresses
> unhelpful messages on the console.
>
> Reported-by: sephe
>
> Summary of changes:
> etc/rc.d/sysctl | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
> http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dcd3d479354e1d254b02314765c7c397b2c35ea0
>
>
> --
> DragonFly BSD source repository
--
Tomorrow Will Never Die
More information about the Commits
mailing list