• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.1k 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 Sep 6, 2013, 4:39 PM

    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
    • S
      stephenw10 Netgate Administrator
      last edited by Sep 6, 2013, 8:15 PM

      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 Sep 7, 2013, 10:11 AM

        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 Sep 7, 2013, 11:07 AM

          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
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received