version 1.107, 1999/08/31 03:47:16 |
version 1.108, 1999/09/03 18:11:48 |
|
|
PATH=/sbin:/bin:/usr/sbin:/usr/bin |
PATH=/sbin:/bin:/usr/sbin:/usr/bin |
export PATH |
export PATH |
|
|
|
if [ $1x = shutdownx ]; then |
|
dd if=/dev/urandom of=/var/db/host.random bs=1024 count=64 >/dev/null 2>&1 |
|
chmod 600 /var/db/host.random >/dev/null 2>&1 |
|
if [ $? -eq 0 -a -f /etc/rc.shutdown ]; then |
|
echo /etc/rc.shutdown in progress... |
|
. /etc/rc.shutdown |
|
echo /etc/rc.shutdown complete. |
|
if [ "X${powerdown}" = X"YES" ]; then |
|
exit 2 |
|
fi |
|
else |
|
echo single user: not running /etc/rc.shutdown |
|
fi |
|
exit 0 |
|
fi |
|
|
# Configure ccd devices. |
# Configure ccd devices. |
if [ -f /etc/ccd.conf ]; then |
if [ -f /etc/ccd.conf ]; then |
ccdconfig -C |
ccdconfig -C |