|
@ -1,11 +1,11 @@ |
|
|
# $OpenBSD: rc.shutdown,v 1.6 2006/06/21 22:53:45 deraadt Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: rc.shutdown,v 1.7 2006/06/22 00:41:59 deraadt Exp $ |
|
|
# |
|
|
# |
|
|
# If it exists, this script is run at system-shutdown by reboot(8), |
|
|
# If it exists, this script is run at system-shutdown by reboot(8), |
|
|
# halt(8). If the architecture supports keyboard requested halting, |
|
|
# halt(8). If the architecture supports keyboard requested halting, |
|
|
# it is also run by init(8) when such an event happens. |
|
|
# it is also run by init(8) when such an event happens. |
|
|
# |
|
|
# |
|
|
|
|
|
|
|
|
powerdown=YES # or NO, if you wanted to halt without powering down |
|
|
|
|
|
|
|
|
powerdown=NO # set to YES for powerdown |
|
|
|
|
|
|
|
|
# |
|
|
# |
|
|
# Your shell code goes here |
|
|
# Your shell code goes here |
|
|