Re: git: rc.d/sysctl: Only set a sysctl when give a new value

2019-02-12 Thread Sepherosa Ziehau
Thank you!

On Mon, Feb 4, 2019 at 1:34 PM Aaron LI  wrote:
>
>
> commit dcd3d479354e1d254b02314765c7c397b2c35ea0
> Author: Aaron LI 
> 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


git: rc.d/sysctl: Only set a sysctl when give a new value

2019-02-03 Thread Aaron LI


commit dcd3d479354e1d254b02314765c7c397b2c35ea0
Author: Aaron LI 
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