[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dhclient: default route not set
On Feb 18 at 18:13, Ido {Nuuskamuikkunen} spoke:
> Have you updated /etc/*?
Most files are updated. The following ones are customized:
/etc/mail/sendmail.cf
/etc/group
/etc/motd
/etc/myname
/etc/master.passwd
/etc/pf.conf
/var/mail/root
mergemaster is 1.46p0.
-Hanspeter
#!/bin/sh -
pf=YES
pf_rules=/etc/pf.conf
pflogd_flags="-d 5" # -s 256
ipfilter=NO
ipnat=NO # for "YES" ipfilter must also be "YES"
ipmon_flags=NO #-Ds # To disable logging, use ipmon_flags=NO
portmap=NO # almost always needed
inetd=NO # almost always needed
ipfilter_rules=/etc/ipf.rules # Rules for IP packet filtering
apmd_flags="" # for normal use: ""
lpd_flags=NO
ntpd=NO # run ntpd if it exists
sshd_flags=NO # for normal use: ""
wsmoused_flags="NO" # for ps/2 or usb mice: "", serial: "-p /dev/cua00"
#shlib_dirs=/usr/local/lib/pth # extra directories for ldconfig
# For normal use: "-L sm-mta -bd -q30m"
#endmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m"
sendmail_flags="-L sm-mta -C/etc/mail/sendmail.cf -bd -q30m"
named_flags="" #-b named.boot"
# $OpenBSD: rc.local,v 1.33 2001/06/05 23:01:55 naddy Exp $
# site-specific startup actions, daemons, and other things which
# can be done AFTER your system goes into securemode. For actions
# which should be done BEFORE your system has gone into securemode
# please see /etc/rc.securelevel
# site-specific startup actions, daemons which can be run
# Add your local changes additions to this file
echo -n 'starting local daemons:'
# run ntpdate prior to ntpd
if [ $securelevel -le 1 -a X"${ntpdate_flags}" != X"NO" \
-a -x /usr/local/sbin/ntpdate ]; then
echo -n ' ntpdate'
/usr/local/sbin/ntpdate -b ${ntpdate_flags} >/dev/null
fi
if [ X"${ntpd}" == X"YES" -a -x /usr/local/sbin/ntpd \
-a -e /etc/ntp.conf ]; then
echo -n ' ntpd'; /usr/local/sbin/ntpd -p /var/run/ntpd.pid
fi
if [ -x /usr/local/sbin/cfsd ]; then
if ps auxc | grep -q '^ *root .* mountd$'; then
echo -n ' cfsd'; /usr/local/sbin/cfsd >/dev/null 2>&1
mount -o port=3049,nfsv2,intr localhost:/null /crypt
else
echo -n ' cfsd (failed, no mountd running)'
fi
fi
#if [ -x /usr/local/sbin/snmpd ]; then
# echo -n ' snmpd'; /usr/local/sbin/snmpd
#fi
echo '.'
mixerctl -w inputs.speaker=133
# Netatalk stuff
#if [ -f /etc/netatalk/rc.atalk ]; then
# . /etc/netatalk/rc.atalk
#fi