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

    shutdown -c

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 4 Posters 496 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

      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
      
      NollipfSenseN GertjanG 2 Replies Last reply Reply Quote 0
      • NollipfSenseN
        NollipfSense @anengelsen
        last edited by

        @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

          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
          • GertjanG
            Gertjan @anengelsen
            last edited by

            @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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.