[BACK]Return to ifstated.conf CVS log [TXT][DIR] Up to [local] / src / etc

Diff for /src/etc/Attic/ifstated.conf between version 1.5 and 1.6

version 1.5, 2005/02/03 17:51:12 version 1.6, 2005/02/07 06:08:10
Line 37 
Line 37 
                 run "ifconfig carp0 advskew 10"                  run "ifconfig carp0 advskew 10"
                 run "ifconfig carp1 advskew 10"                  run "ifconfig carp1 advskew 10"
         }          }
         if ! $net          if ! $net
                 set-state demoted                  set-state demoted
 }  }
   
 state demoted {  state demoted {
Line 46 
Line 46 
                 run "ifconfig carp0 advskew 254"                  run "ifconfig carp0 advskew 254"
                 run "ifconfig carp1 advskew 254"                  run "ifconfig carp1 advskew 254"
         }          }
         if $net          if $net
                 set-state primary                  set-state primary
 }  }
   
 state promoted {  state promoted {
Line 65 
Line 65 
                 run "ifconfig carp1 advskew 100"                  run "ifconfig carp1 advskew 100"
         }          }
         # The "sleep 5" below is a hack to dampen the $carp_sync when we come          # The "sleep 5" below is a hack to dampen the $carp_sync when we come
         # out of promoted state. Thinking about the correct fix...          # out of promoted state. Thinking about the correct fix...
         if ! $carp_sync && $net && "sleep 5" every 10          if ! $carp_sync && $net && "sleep 5" every 10
                 if ! $carp_sync && $net                  if ! $carp_sync && $net
                         set-state promoted                          set-state promoted

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6