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

Diff for /src/etc/rc between version 1.524 and 1.525

version 1.524, 2018/02/10 05:56:47 version 1.525, 2018/02/18 18:52:02
Line 160 
Line 160 
         ssh-keygen -A          ssh-keygen -A
   
         if [[ ! -f /etc/soii.key ]]; then          if [[ ! -f /etc/soii.key ]]; then
                 openssl rand -hex 16 > /etc/soii.key && \                  openssl rand -hex 16 > /etc/soii.key &&
                     chmod 600 /etc/soii.key && sysctl -q \                      chmod 600 /etc/soii.key && sysctl -q \
                     "net.inet6.ip6.soiikey=$(</etc/soii.key)"                      "net.inet6.ip6.soiikey=$(</etc/soii.key)"
         fi          fi
Line 315 
Line 315 
 # - execute the rc.d scripts specified by $pkg_scripts in reverse order  # - execute the rc.d scripts specified by $pkg_scripts in reverse order
 # - bring carp interfaces down gracefully  # - bring carp interfaces down gracefully
 if [[ $1 == shutdown ]]; then  if [[ $1 == shutdown ]]; then
         if echo 2>/dev/null >>/var/db/host.random || \          if echo 2>/dev/null >>/var/db/host.random ||
             echo 2>/dev/null >>/etc/random.seed; then              echo 2>/dev/null >>/etc/random.seed; then
                 random_seed                  random_seed
         else          else

Legend:
Removed from v.1.524  
changed lines
  Added in v.1.525