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

Diff for /src/etc/rc between version 1.413 and 1.414

version 1.413, 2013/12/27 22:15:40 version 1.414, 2013/12/27 22:33:27
Line 101 
Line 101 
   
 random_seed()  random_seed()
 {  {
         if [ -f /var/db/host.random ]; then          {
                 dd if=/var/db/host.random of=/dev/random bs=65536 count=1 \                  # push the old seed into the kernel
                     > /dev/null 2>&1                  dd if=/var/db/host.random of=/dev/random bs=65536 count=1
                 chmod 600 /var/db/host.random >/dev/null 2>&1                  chmod 600 /var/db/host.random
                   # ... and create a future seed
                 # reset seed file, so that if a shutdown-less reboot occurs,                  dd if=/dev/random of=/var/db/host.random bs=65536 count=1
                 # the next seed is not a repeat          } > /dev/null 2>&1
                 dd if=/dev/random of=/var/db/host.random bs=65536 count=1 \  
                     > /dev/null 2>&1  
         fi  
 }  }
   
 fill_baddynamic()  fill_baddynamic()

Legend:
Removed from v.1.413  
changed lines
  Added in v.1.414