[BACK]Return to rc CVS log [TXT][DIR] Up to [local] / src / etc

Diff for /src/etc/rc between version 1.378 and 1.379

version 1.378, 2011/07/08 04:54:12 version 1.379, 2011/07/08 09:48:18
Line 414 
Line 414 
   
 make_keys  make_keys
   
 echo -n 'starting system logger:'  echo -n 'starting early daemons:'
 start_daemon syslogd  start_daemon syslogd ldattach
   
 if [ X"${pf}" != X"NO" ]; then  if [ X"${pf}" != X"NO" ]; then
         ifconfig pflog0 create >/dev/null 2>&1          ifconfig pflog0 create >/dev/null 2>&1
Line 425 
Line 425 
         fi          fi
 fi  fi
   
   start_daemon named nsd ntpd isakmpd iked sasyncd
 echo '.'  echo '.'
   
 echo -n 'starting name service daemons:'  
 start_daemon named nsd  
 echo '.'  
   
 echo -n 'starting IPsec daemons:'  
 start_daemon isakmpd iked sasyncd  
 echo '.'  
   
 if [ X"${ipsec}" != X"NO" ]; then  if [ X"${ipsec}" != X"NO" ]; then
         if [ -f ${ipsec_rules} ]; then          if [ -f ${ipsec_rules} ]; then
                 ipsecctl -f ${ipsec_rules}                  ipsecctl -f ${ipsec_rules}
         fi          fi
 fi  fi
   
 echo -n 'starting initial daemons:'  echo -n 'starting RPC daemons:'
   
 start_daemon portmap  start_daemon portmap
 if [ X"`domainname`" != X"" ]; then  if [ X"`domainname`" != X"" ]; then
         start_daemon ypserv ypldap ypbind yppasswdd          start_daemon ypserv ypldap ypbind yppasswdd
 fi  fi
 start_daemon mountd nfsd lockd statd amd  start_daemon mountd nfsd lockd statd amd
   
 # run rdate before ntpd  
 if [ X"${rdate_flags}" != X"NO" ]; then  
         echo -n ' rdate';       rdate -s ${rdate_flags}  
 fi  
   
 start_daemon ldattach ntpd  
   
 echo '.'  echo '.'
   
 mount -a  mount -a
Line 535 
Line 519 
 echo 'preserving editor files.';        /usr/libexec/vi.recover  echo 'preserving editor files.';        /usr/libexec/vi.recover
   
 echo -n 'starting network daemons:'  echo -n 'starting network daemons:'
   start_daemon sshd snmpd ldpd ripd bgpd ifstated relayd dhcpd
   start_daemon dhcrelay mrouted dvmrpd
   
 start_daemon sshd snmpd ldpd ripd bgpd ifstated relayd dhcpd \  
         dhcrelay mrouted dvmrpd  
   
 if ifconfig lo0 inet6 >/dev/null 2>&1; then  if ifconfig lo0 inet6 >/dev/null 2>&1; then
         fw=`sysctl -n net.inet6.ip6.forwarding`          fw=`sysctl -n net.inet6.ip6.forwarding`
         if [ X"${fw}" = X"0" ]; then          if [ X"${fw}" = X"0" ]; then
Line 550 
Line 533 
   
 start_daemon hostapd rwhod lpd ldapd sendmail smtpd httpd ftpd  start_daemon hostapd rwhod lpd ldapd sendmail smtpd httpd ftpd
 start_daemon ftpproxy identd inetd rarpd bootparamd rbootd mopd  start_daemon ftpproxy identd inetd rarpd bootparamd rbootd mopd
 start_daemon spamd spamlogd  start_daemon spamd spamlogd kdc kadmind kpasswdd
   
 echo '.'  echo '.'
   
 [ X"${spamd_flags}" != X"NO" ] && \  if [ X"${spamd_flags}" != X"NO" ]; then
         /usr/libexec/spamd-setup -D          /usr/libexec/spamd-setup -D
   
 if [ X"${kdc_flags}" != X"NO" ]; then  
         echo -n 'starting KerberosV daemons:'  
         start_daemon kdc kadmind kpasswdd  
         echo '.'  
 fi  fi
   
 # If rc.firstime exists, run it just once, and make sure it is deleted  # If rc.firstime exists, run it just once, and make sure it is deleted
Line 582 
Line 559 
   
 [ -f /etc/rc.local ] && . /etc/rc.local  [ -f /etc/rc.local ] && . /etc/rc.local
   
 echo -n 'starting standard daemons:'  ifconfig -g carp -carpdemote 128        # disable carp interlock
   
 start_daemon apmd sensorsd hotplugd watchdogd cron  
   
 # disable carp interlock  
 ifconfig -g carp -carpdemote 128  
   
 echo '.'  
   
 date  
   
 mixerctl_conf  mixerctl_conf
   echo -n 'starting local daemons:'
 echo -n 'starting console services:'  start_daemon apmd sensorsd hotplugd watchdogd cron aucat wsmoused xdm
 start_daemon aucat wsmoused xdm  
 echo '.'  echo '.'
   
   date
 exit 0  exit 0

Legend:
Removed from v.1.378  
changed lines
  Added in v.1.379