Annotation of embedaddon/dhcp/tests/failover/new-failover, revision 1.1.1.1

1.1       misho       1: #!/bin/sh
                      2: 
                      3: foo=10
                      4: while [ $foo -lt 100 ]; do
                      5:   cat >>dhcp-1.leases <<~
                      6: lease 10.0.0.$foo {
                      7:   starts 4 2001/05/01 02:19:16;
                      8:   ends 5 2021/05/03 02:29:16;
                      9:   binding state active;
                     10:   next binding state free;
                     11:   hardware ethernet 08:00:46:06:6c:23;
                     12:   uid "test-$foo";
                     13: }
                     14: ~
                     15:   foo=`expr $foo + 1`
                     16:   cat >>dhcp-2.leases <<~
                     17: lease 10.0.0.$foo {
                     18:   starts 4 2001/04/19 02:19:16;
                     19:   ends 5 2021/04/21 02:29:16;
                     20:   binding state active;
                     21:   next binding state free;
                     22:   hardware ethernet 08:00:46:06:6c:23;
                     23:   uid "test-$foo";
                     24: }
                     25: ~
                     26:   foo=`expr $foo + 1`
                     27: done
                     28: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>