Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Change sysctl default value

    Scheduled Pinned Locked Moved Development
    3 Posts 2 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      Guest
      last edited by

      Hi
      I want to change kern.consmute to 1.
      i changed Default sysctls array in globals.inc and add this to conf.xml:

      
       <tunable>kern.consmute</tunable>
      			<value>default</value> 
      

      but it doesn't work. what's wrong?

      1 Reply Last reply Reply Quote 0
      • ?
        Guest
        last edited by

        Is this a bug?

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          No it's intentional but it's not controlled in the source by the sysctl, but the "conscontrol mute [on|off]" command, notably it's run in /etc/rc and other places via the mute_kernel_msgs() / unmute_kernel_msgs()  function in /etc/inc/util.inc

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.