[BACK]Return to rc CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/etc/rc between version 1.133 and 1.134

version 1.133, 1999/10/05 10:32:56 version 1.134, 1999/10/05 10:54:27
Line 182  rm -f /var/spool/lock/LCK.*
Line 182  rm -f /var/spool/lock/LCK.*
 rm -f /var/spool/uucp/STST/*  rm -f /var/spool/uucp/STST/*
 (cd /var/run && { rm -rf -- *; install -c -m 664 -g utmp /dev/null utmp; })  (cd /var/run && { rm -rf -- *; install -c -m 664 -g utmp /dev/null utmp; })
   
   # build ps databases
   echo 'building databases...'
 # if this kernel supports machdep.booted_kernel, use that to build the KVM  # if this kernel supports machdep.booted_kernel, use that to build the KVM
 # db so dmesg will run work when we boot /netbsd.new, etc.  # db so dmesg will run work when we boot /netbsd.new, etc.
 sysctl machdep 2>/dev/null | grep -q booted_kernel  sysctl machdep 2>/dev/null | grep -q booted_kernel
 if [ $? -eq 0 ] ; then  if [ $? -eq 0 ] ; then
         kvm_mkdb `sysctl -n machdep.booted_kernel`          kvm_mkdb `sysctl -n machdep.booted_kernel`
           if [ $? -ne 0 ] ; then
                   kvm_mkdb /netbsd
           fi
   else
           kvm_mkdb /netbsd
 fi  fi
   dev_mkdb
   
 # get the system dmesg output, hopefully containing the boot messages  # get the system dmesg output, hopefully containing the boot messages
 # $dmesg_flags is imported from /etc/rc.conf  # $dmesg_flags is imported from /etc/rc.conf
 if checkyesno dmesg; then  if checkyesno dmesg; then
Line 381  fi
Line 390  fi
 echo -n 'checking quotas:'; quotacheck -a; echo ' done.'  echo -n 'checking quotas:'; quotacheck -a; echo ' done.'
 quotaon -a  quotaon -a
   
 # build ps databases  
 echo 'building databases...'  
 kvm_mkdb /netbsd  
 dev_mkdb  
   
 chmod 666 /dev/tty[pqrs]*  chmod 666 /dev/tty[pqrs]*
   
 # check the password temp/lock file  # check the password temp/lock file

Legend:
Removed from v.1.133  
changed lines
  Added in v.1.134

CVSweb <webmaster@jp.NetBSD.org>