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

shutdown -c

Scheduled Pinned Locked Moved General pfSense Questions
4 Posts 4 Posters 494 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
    anengelsen
    last edited by Feb 7, 2022, 4:24 AM

    Does anyone know why the following command does not work while interacting with the pfSense shell environment?

    shutdown -c
    

    This command should allow me to cancel a shutdown command. Instead, I am getting the following output

    [2.5.2-RELEASE][admin@IPHERE]/root: shutdown -c
    usage: shutdown [-] [-c | -h | -p | -r | -k] [-o [-n]] time [warning-message ...]
           poweroff
    
    N G 2 Replies Last reply Feb 7, 2022, 4:42 AM Reply Quote 0
    • N
      NollipfSense @anengelsen
      last edited by Feb 7, 2022, 4:42 AM

      @anengelsen So, it didn't power off? It takes a few seconds to start shutting down services before actually powering off. Had you tried 6 at the FreeBSD cli?

      pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
      pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

      1 Reply Last reply Reply Quote 0
      • S
        serbus
        last edited by Feb 7, 2022, 5:20 AM

        Hello!

        The Freebsd shutdown options might be different from those in other unix/linux flavors.

        shutdown

        John

        Lex parsimoniae

        1 Reply Last reply Reply Quote 0
        • G
          Gertjan @anengelsen
          last edited by Feb 7, 2022, 11:42 AM

          @anengelsen said in shutdown -c:

          shutdown -c

          Is an incomplete command.

          Look here :

          @serbus said in shutdown -c:

          shutdown

          The time option is not optional.

           time    Time is the time at which shutdown	will bring the system down and
               may be the	case-insensitive word now (indicating an immediate
               shutdown)
          

          This might work :

          shutdown -c now
          

          I didn't try it ;)

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 1
          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