aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/do-newntpstat
diff options
context:
space:
mode:
authorMatt Rude <[email protected]>2011-05-07 21:16:20 -0500
committerMatt Rude <[email protected]>2011-05-07 21:16:20 -0500
commitec9dbe5fa9e188ecada18dafdb96de87a5b9a394 (patch)
treea75b42d963672f43fb2d640680da0d59d5627602 /scripts/do-newntpstat
parent7d2ac99a052f219d722be747e62a65a936db720c (diff)
downloadtime.mattrude.com-ec9dbe5fa9e188ecada18dafdb96de87a5b9a394.tar.gz
time.mattrude.com-ec9dbe5fa9e188ecada18dafdb96de87a5b9a394.tar.bz2
time.mattrude.com-ec9dbe5fa9e188ecada18dafdb96de87a5b9a394.zip
moving the index names
Diffstat (limited to 'scripts/do-newntpstat')
-rwxr-xr-xscripts/do-newntpstat5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/do-newntpstat b/scripts/do-newntpstat
index 8f4e1d7..bae8b37 100755
--- a/scripts/do-newntpstat
+++ b/scripts/do-newntpstat
@@ -1,5 +1,6 @@
#! /bin/sh
+mkdir -p ../rrd/
case "$1" in
"") echo "Missing system name."; exit 1
esac
@@ -19,3 +20,7 @@ ${RRD_BIN}/rrdtool create $1.rrd \
RRA:LAST:0.5:12:2304
#end
+
+mv $1.rrd ../rrd/
+echo $1 >> ../rrd/list-of-systems
+./do-build-index