|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: rc,v 1.285 2006/06/01 21:37:43 norby Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: rc,v 1.286 2006/06/02 19:59:35 mcbride Exp $ |
|
|
|
|
|
|
|
|
# System startup script run by init on autoboot |
|
|
# System startup script run by init on autoboot |
|
|
# or after single-user. |
|
|
# or after single-user. |
|
@ -244,6 +244,7 @@ sysctl_conf |
|
|
|
|
|
|
|
|
# set hostname, turn on network |
|
|
# set hostname, turn on network |
|
|
echo 'starting network' |
|
|
echo 'starting network' |
|
|
|
|
|
ifconfig -g carp carpdemote |
|
|
if [ -f /etc/resolv.conf.save ]; then |
|
|
if [ -f /etc/resolv.conf.save ]; then |
|
|
mv /etc/resolv.conf.save /etc/resolv.conf |
|
|
mv /etc/resolv.conf.save /etc/resolv.conf |
|
|
touch /etc/resolv.conf |
|
|
touch /etc/resolv.conf |
|
@ -759,6 +760,9 @@ fi |
|
|
|
|
|
|
|
|
echo -n ' cron'; cron |
|
|
echo -n ' cron'; cron |
|
|
|
|
|
|
|
|
|
|
|
# disable carp interlock |
|
|
|
|
|
ifconfig -g carp -carpdemote |
|
|
|
|
|
|
|
|
echo '.' |
|
|
echo '.' |
|
|
|
|
|
|
|
|
date |
|
|
date |
|
@ -772,5 +776,6 @@ if [ X"${xdm_flags}" != X"NO" ]; then |
|
|
echo 'starting xdm...'; /usr/X11R6/bin/xdm ${xdm_flags} |
|
|
echo 'starting xdm...'; /usr/X11R6/bin/xdm ${xdm_flags} |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
exit 0 |
|
|
exit 0 |
|
|
|
|
|
|