From 412f8a06471954a2367d2ef4b007b189f86cc77e Mon Sep 17 00:00:00 2001 From: Netravnen Date: Thu, 23 Jul 2020 20:02:40 +0000 Subject: [PATCH] fix old dn42 url --- README.md | 4 ++-- lib/define.php | 2 +- update.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 738f70a..11faf99 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ This ROA generator honors the following principles: 1. Verify curl, git, bash, and php is installed. 2. `mkdir -p ~/dn42/`. 3. `cd ~/dn42/`. -4. `git clone https://git.dn42.us/netravnen/dn42-roagen.git roagen`. -5. `git clone https://git.dn42.us/dn42/registry.git`. +4. `git clone https://git.dn42.dev/as4242420144/roagen.git`. +5. `git clone https://git.dn42.dev/dn42/registry.git`. 6. `git -C registry/ remote rename origin upstream && git -C registry/ fetch --all` 7. Verify everything work by running `cd ~/dn42/roagen/ && ./update.sh`. 8. In $USER crontab file put `@daily cd ~/dn42/roagen/ && ./update.sh`. Finetune diff --git a/lib/define.php b/lib/define.php index 0db6ddb..aab24a6 100644 --- a/lib/define.php +++ b/lib/define.php @@ -9,5 +9,5 @@ $files4 = scandir ("../registry/data/route/"); // Define array() we are gonna store data inside. $roas = array(); -$web_registry_url = 'https://git.dn42.us/dn42/registry/src/master'; +$web_registry_url = 'https://git.dn42.dev/dn42/registry/src/master'; ?> diff --git a/update.sh b/update.sh index 1cdee2d..fd06c43 100755 --- a/update.sh +++ b/update.sh @@ -80,8 +80,8 @@ updates has been made to the [DN42 registry][1]. - ROAs IPv6: $(cat roa/bird6_route_dn42.conf | grep -v '^#' | grep -v '^$' | wc -l) - ROAs total: $(cat roa/bird_route_dn42.conf | grep -v '^#' | grep -v '^$' | wc -l) -[0]: https://git.dn42.us/dn42/registry/commit/$(git -C ../registry/ log -n 1 --merges --pretty='format:%H') -[1]: https://git.dn42.us/dn42/registry +[0]: https://git.dn42.dev/dn42/registry/commit/$(git -C ../registry/ log -n 1 --merges --pretty='format:%H') +[1]: https://git.dn42.dev/dn42/registry [2]: https://github.com/NLnetLabs/routinator [3]: https://github.com/cloudflare/gortr [4]: https://tools.ietf.org/html/rfc8416