Compare commits
4 commits
3f3404005e
...
2264a504c9
Author | SHA1 | Date | |
---|---|---|---|
netravnen | 2264a504c9 | ||
netravnen | 9ea40bc70d | ||
netravnen | 96364e9a15 | ||
netravnen | bbcfb35978 |
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -46,11 +46,15 @@ echo "## Notes
|
||||||
- bird4_route_dn42.conf
|
- bird4_route_dn42.conf
|
||||||
- bird6_route_dn42.conf
|
- bird6_route_dn42.conf
|
||||||
|
|
||||||
## Last commit
|
## [Last commit][0] at [dn42 registry][1]
|
||||||
|
|
||||||
\`\`\`
|
\`\`\`
|
||||||
$(git -C ../registry/ log -n 1)
|
$(git -C ../registry/ log -n 1)
|
||||||
\`\`\`" > roa/README.md
|
\`\`\`
|
||||||
|
|
||||||
|
[0]: https://git.dn42.us/dn42/registry/commit/$(git -C ../registry/ log -n 1 --pretty='format:%H')
|
||||||
|
[1]: https://git.dn42.us/dn42/registry
|
||||||
|
" > roa/README.md
|
||||||
|
|
||||||
# Commit latest version of ROA files
|
# Commit latest version of ROA files
|
||||||
git -C roa/ add README.md *.conf *.json
|
git -C roa/ add README.md *.conf *.json
|
||||||
|
|
Loading…
Reference in a new issue