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

    Apply changes automatically

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 4 Posters 1.2k 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
      Is there any way to apply changes automatically after save?
      I don' want to use Apply Changes buttom.
      should i change php files? How?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Umm, perhaps I've misunderstood this. What's wrong with the 'apply changes' button?

        Reading between the lines I imagine you're running some sort of script. You can probably use the config reload function to apply changes to the config file you've made.

        Maybe use:

        /etc/rc.reload_all
        

        Perhaps more reloading than you need.

        Steve

        1 Reply Last reply Reply Quote 0
        • P
          phil.davis
          last edited by

          I was showing someone else how to configure stuff on the GUI, and they asked the same question - why after pressing "save" do I also have to have an "Apply Changes" button to press?
          I pointed out that in many places you first "get your act together" with multiple changes, then apply them to the running config all at once. The best is example is probably firewall rules, where you might be designing some ordered list of pass and block rules, which need them all there in order to operate correctly, so you don't want each change to be applied as you go.
          In other places, like adding static mapped DHCP entries, you might be doing quite a few and just don't want to be bothered with the system restarting/reloading the config of the DHCP server for every addition…

          As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
          If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            Also, there's like getting cut off of a machine couple hundred kms/miles away by doing a simple mistake, which could have been fixed easily before applying.

            This is a horrible idea, forget it.

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