lib: update bird conf gen to use 'git log' instad of 'git show'
This commit is contained in:
parent
9ea40bc70d
commit
2264a504c9
|
@ -65,13 +65,13 @@ function writeBirdConfig ($roas)
|
||||||
$bird2_fq4 = fopen ('roa/bird4_route_dn42.conf', 'w');
|
$bird2_fq4 = fopen ('roa/bird4_route_dn42.conf', 'w');
|
||||||
$bird2_fq6 = fopen ('roa/bird6_route_dn42.conf', 'w');
|
$bird2_fq6 = fopen ('roa/bird6_route_dn42.conf', 'w');
|
||||||
|
|
||||||
fwrite ($bird1_fq, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/# /g'"));
|
fwrite ($bird1_fq, shell_exec ("/usr/bin/git -C ../registry/ log -n 1 | sed 's/^/# /g'"));
|
||||||
fwrite ($bird1_fq4, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/# /g'"));
|
fwrite ($bird1_fq4, shell_exec ("/usr/bin/git -C ../registry/ log -n 1 | sed 's/^/# /g'"));
|
||||||
fwrite ($bird1_fq6, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/# /g'"));
|
fwrite ($bird1_fq6, shell_exec ("/usr/bin/git -C ../registry/ log -n 1 | sed 's/^/# /g'"));
|
||||||
|
|
||||||
fwrite ($bird2_fq, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/# /g'"));
|
fwrite ($bird2_fq, shell_exec ("/usr/bin/git -C ../registry/ log -n 1 | sed 's/^/# /g'"));
|
||||||
fwrite ($bird2_fq4, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/# /g'"));
|
fwrite ($bird2_fq4, shell_exec ("/usr/bin/git -C ../registry/ log -n 1 | sed 's/^/# /g'"));
|
||||||
fwrite ($bird2_fq6, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/# /g'"));
|
fwrite ($bird2_fq6, shell_exec ("/usr/bin/git -C ../registry/ log -n 1 | sed 's/^/# /g'"));
|
||||||
|
|
||||||
foreach ($roas["roas"] as $roa)
|
foreach ($roas["roas"] as $roa)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue