aboutsummaryrefslogtreecommitdiff
path: root/scripts/repo0-testbed-daily
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-daily
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-daily')
-rwxr-xr-xscripts/repo0-testbed-daily19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/repo0-testbed-daily b/scripts/repo0-testbed-daily
new file mode 100755
index 00000000..576464c4
--- /dev/null
+++ b/scripts/repo0-testbed-daily
@@ -0,0 +1,19 @@
+#!/bin/sh -
+# $Id: daily 602 2013-06-02 18:00:25Z sra $
+
+home=/home/sra/rpki.testbed
+
+exec >>$home/logs/daily.log 2>&1
+
+set -x
+
+date
+
+cd $home
+
+/usr/local/sbin/rpkic update_bpki
+
+/usr/local/bin/svn update
+/usr/local/bin/svn add --force .
+/usr/local/bin/svn ci --message 'Daily auto update'
+/usr/local/bin/svn update