version 1.342, 2010/10/01 20:51:32 |
version 1.343, 2010/10/26 20:56:03 |
|
|
PATH=/sbin:/bin:/usr/sbin:/usr/bin |
PATH=/sbin:/bin:/usr/sbin:/usr/bin |
export PATH |
export PATH |
|
|
|
# pick up option configuration |
|
. /etc/rc.conf |
|
|
if [ X"$1" = X"shutdown" ]; then |
if [ X"$1" = X"shutdown" ]; then |
dd if=/dev/urandom of=/var/db/host.random bs=1024 count=64 >/dev/null 2>&1 |
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 |
chmod 600 /var/db/host.random >/dev/null 2>&1 |
|
|
rm -f /fastboot # XXX (root now writeable) |
rm -f /fastboot # XXX (root now writeable) |
|
|
random_seed |
random_seed |
|
|
# pick up option configuration |
|
. /etc/rc.conf |
|
|
|
# set flags on ttys. (do early, in case they use tty for SLIP in netstart) |
# set flags on ttys. (do early, in case they use tty for SLIP in netstart) |
echo 'setting tty flags' |
echo 'setting tty flags' |