This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can I lock /etc/modprobe.d/netfilter before update?

I have to set ip_set max_sets=2048, but nearly every update overwrites this.

Is there a way to lock this file?



This thread was automatically locked due to age.
  • Why not copy your custom netfilter file to the home directory and then add a cron job like:

    @reboot root cp /home/netfilter /etc/modprobe.d/netfilter

    Did that do what you wanted?

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA