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

    Automatic upgrade

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 603 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.
    • A
      aminbaik
      last edited by

      Hello,
      I try to excue pfsense-upgrade -d
      is there any way to make the question from upgrade automatic with ask ?
      for example when I run pfsense-upgrade -d it's ask me that it's required to reboot y/n
      is there any way to make automatic ?

      1 Reply Last reply Reply Quote 0
      • A
        akuma1x
        last edited by

        What part are you wishing was automatic - upgrading the firewall itself, or asking the "reboot y/n" question and then actually rebooting?

        It's a REALLY bad idea to have a firewall, most times your first line of defense against the "wild west" internet, upgrading itself when it feels like it.

        Jeff

        1 Reply Last reply Reply Quote 0
        • kiokomanK
          kiokoman LAYER 8
          last edited by kiokoman

          [2.5.0-DEVELOPMENT][root@pfSense.localdomain]/root: pfSense-upgrade -h
          > 
          > Usage: pfSense-upgrade [-46bdfhnRUy] [-l logfile] [-p socket] [-c|-u|[-i|-d] pkg_name]
          >         -4          - Force IPv4
          >         -6          - Force IPv6
          >         -b          - Platform is booting
          >         -d          - Turn on debug
          >         -f          - Force package installation
          >         -h          - Show this usage help
          >         -l logfile  - Logfile path (defaults to /cf/conf/upgrade_log.txt)
          >         -n          - Dry run
          >         -p socket   - Write pkg progress to socket
          >         -R          - Do not reboot (this can be dangerous)
          >         -U          - Do not update repository information
          >         -y          - Assume yes as the answer to any possible interaction
          > 
          > The following parameters are mutually exclusive:
          >         -c          - Check if upgrade is necessary
          >         -i pkg_name - Install package PKG_NAME
          >         -r pkg_name - Remove package PKG_NAME
          >         -u          - Update repository information
          >
          

          how about pfSense-upgrade -d -y ?

          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
          Please do not use chat/PM to ask for help
          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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