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

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

1.1     ! deraadt     1: #      $OpenBSD$
        !             2: #
        !             3: # If it exists, this script is run at system-shutdown by reboot(8),
        !             4: # halt(8).
        !             5: # If the architecture supports keyboard requested halting, it is also
        !             6: # run by init(8) when such an event happens.
        !             7: #
        !             8:
        !             9: echo -n /etc/rc.shutdown in progress...
        !            10:
        !            11: #
        !            12: # Your shell code goes here
        !            13: #
        !            14:
        !            15:
        !            16: echo done.
        !            17: exit 0         # An exit code of 2 will cause init(8) to attempt powerdown.