aboutsummaryrefslogtreecommitdiff
path: root/scripts/repo0-testbed-monthly
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2013-11-21 22:58:12 +0000
committerRob Austein <sra@hactrn.net>2013-11-21 22:58:12 +0000
commit8941436f6921ab087dd4e02632e50c0a98288c94 (patch)
treed2d82db10b6fe70c155aeb8206c6a7a8cd461cf1 /scripts/repo0-testbed-monthly
parenta5aef59c2c7f4bd05fcb182f26283314e9c288bb (diff)
Archive the main control scripts for our old cron-driven testbed with
its pseudo-IANA and pseudo-RIR databases. Closes #34. svn path=/trunk/; revision=5595
Diffstat (limited to 'scripts/repo0-testbed-monthly')
-rwxr-xr-xscripts/repo0-testbed-monthly22
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/repo0-testbed-monthly b/scripts/repo0-testbed-monthly
new file mode 100755
index 00000000..b7ada110
--- /dev/null
+++ b/scripts/repo0-testbed-monthly
@@ -0,0 +1,22 @@
+#!/bin/sh -
+# $Id: monthly 602 2013-06-02 18:00:25Z sra $
+
+home=/home/sra/rpki.testbed
+
+exec >>$home/logs/monthly.log 2>&1
+
+set -x
+
+date
+
+cd $home
+
+for identity in iana afrinic apnic arin lacnic legacy ripe
+do
+ /usr/local/sbin/rpkic -i $identity renew_all_children
+done
+
+/usr/local/bin/svn update
+/usr/local/bin/svn add --force .
+/usr/local/bin/svn ci --message 'Monthly auto update'
+/usr/local/bin/svn update