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

    reboot a specified configuration file?

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 485 Views 2 Watching
    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.
    • 4 Offline
      4ROMANY
      last edited by

      In the Cisco world there is an option to reboot the router (using the the saved configuration file) in X minutes. Useful command - that can get you fired if you are not careful - if you are making a change on a remote router and your SSH session becomes non-responsive because of that change. If you ran that reload command earlier - say with a delay of 15 minutes - you can make your change - if successful - cancel the reboot. If you lose connection than you can sweat a bit until the router starts pinging again. Does Pfsense have anything remotely like that? A simple timed "shutdown" command will just reload the current config that may contain a change that created the issue in the first place. I need some way to specify a specific configuration. I'm sure I can script all this but was hoping that knob already existed...just to repeat I also need a CLI way to cancel the requested reboot...

      Thanks for any suggestions...

      romany

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

        No there's nothing built into pfSense to do that. As you say you could script it easily enough but it would need to be something custom. There are probably example of such a script on the forum though since it's a relatively common request.

        Steve

        4 1 Reply Last reply Reply Quote 0
        • 4 Offline
          4ROMANY @stephenw10
          last edited by

          @stephenw10

          OK...thanks for the quick answer on that...

          ...romany

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