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

    Halt shutdown script if i press power off on my PC

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 1.0k 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.
    • R Offline
      ren22
      last edited by

      Hello

      i have one question

      what is the right file for doing some action if i press the "real" power off button on my pc ?

      is it rc.shutdown ?
      is it rc.halt ?
      or is it rc.shutdown.local  this file doesnt exists and needed to be created …  ?
      else is it rc.shutdown.halt  this file doesnt exists and needed to be created ...  ?

      i am asking cause my system needs at least around 12 minutes to boot up so every try needs to much time maybe i am faster if someone knows the right answer here  :P

      thanks a lot and sorry for my poor english
      best regards ren22

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