Halt shutdown script if i press power off on my PC



  • 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


Log in to reply