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

    Shutdown from command line question

    General pfSense Questions
    1
    3
    6.1k
    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.
    • M
      maverick_slo
      last edited by

      Hi guys!

      Maybe stupid Q but still…
      I have built new PC for pfsense...
      When I do: /sbin/shutdown -p now system powers itself down, it works as it should...

      Now, can I use some command to just prepare for shutdown, execute everything just like shutdown -p but do not turn off the power?
      Problem is, my bios is configured to recover from power loss but MB is so loooow  power consuming that when it shuts itself off it wont consume all power left.
      I have UPS that auto shuts down my firewall and then it shuts down itself too and if power comes in too quickly (faster than in 5 minutes) my motherboard won`t even detect
      power loss :)
      If power is lost for more then 5 minutes, it auto turns off without any problem :)

      Now if shutdown seq. would complete but power will still be on, when UPS will shut down itself it will also shut down FW gracefully and power loss will be recoreded by MB :)

      I hope I made myself clear, sorry for bad English..

      Regards,
      M

      1 Reply Last reply Reply Quote 0
      • M
        maverick_slo
        last edited by

        shutdown -h now is correct one :)

        1 Reply Last reply Reply Quote 0
        • M
          maverick_slo
          last edited by

          Recharged the UPS and now with halt (-h) command everything works as expected :)
          I`m posting this just in case someone should have same problem as me …

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