[BACK]Return to rc.shutdown CVS log [TXT][DIR] Up to [local] / src / etc

Annotation of src/etc/rc.shutdown, Revision 1.6

1.6     ! deraadt     1: #      $OpenBSD: rc.shutdown,v 1.5 1999/09/03 18:11:48 deraadt Exp $
1.1       deraadt     2: #
                      3: # If it exists, this script is run at system-shutdown by reboot(8),
1.5       deraadt     4: # halt(8).  If the architecture supports keyboard requested halting,
                      5: # it is also run by init(8) when such an event happens.
1.1       deraadt     6: #
                      7:
1.6     ! deraadt     8: powerdown=YES  # or NO, if you wanted to halt without powering down
1.1       deraadt     9:
                     10: #
                     11: # Your shell code goes here
                     12: #