=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/Attic/rc.shutdown,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/etc/Attic/rc.shutdown 1999/07/06 07:55:03 1.1 --- src/etc/Attic/rc.shutdown 1999/07/15 14:31:52 1.2 *************** *** 1,4 **** ! # $OpenBSD: rc.shutdown,v 1.1 1999/07/06 07:55:03 deraadt Exp $ # # If it exists, this script is run at system-shutdown by reboot(8), # halt(8). --- 1,4 ---- ! # $OpenBSD: rc.shutdown,v 1.2 1999/07/15 14:31:52 provos Exp $ # # If it exists, this script is run at system-shutdown by reboot(8), # halt(8). *************** *** 7,12 **** --- 7,16 ---- # echo -n /etc/rc.shutdown in progress... + + # save part of our entropy pool for reuse on reboot + dd if=/dev/urandom of=/var/db/host.random bs=1024 count=64 >/dev/null 2>&1 + chmod 600 /var/db/host.random # # Your shell code goes here