aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/do-xntp
diff options
context:
space:
mode:
authorMatt Rude <[email protected]>2011-05-18 11:21:02 -0500
committerMatt Rude <[email protected]>2011-05-18 11:21:02 -0500
commit1454d0cea688a03899c92e68efd1cc48a7706b1a (patch)
treeac84d1fd8b6905f5b426be582698230ceca96efa /scripts/do-xntp
parent825fccb8064c0f4b4b01595adbed7bc9d10412b4 (diff)
downloadtime.mattrude.com-1454d0cea688a03899c92e68efd1cc48a7706b1a.tar.gz
time.mattrude.com-1454d0cea688a03899c92e68efd1cc48a7706b1a.tar.bz2
time.mattrude.com-1454d0cea688a03899c92e68efd1cc48a7706b1a.zip
updates for Linux vs FreeBSD
Diffstat (limited to 'scripts/do-xntp')
-rwxr-xr-xscripts/do-xntp11
1 files changed, 5 insertions, 6 deletions
diff --git a/scripts/do-xntp b/scripts/do-xntp
index 4ebdc1b..2d09a3c 100755
--- a/scripts/do-xntp
+++ b/scripts/do-xntp
@@ -1,8 +1,8 @@
#!/bin/sh
-RRD_BIN=/usr/local/bin
-RRDPAGE=/usr/local/www/data/rrd
-SCRIPTS=/usr/local/www/data/scripts
+RRD_BIN=/usr/bin
+RRDPAGE=/var/www/time.mattrude.com/rrd
+SCRIPTS=/var/www/time.mattrude.com/scripts
cd ${RRDPAGE}
@@ -90,9 +90,8 @@ ${RRD_BIN}/rrdtool graph \
--title "`TZ=UTC date`" \
--start -93600 \
DEF:disp=${RRDPAGE}/${X}.rrd:jitter:LAST \
- CDEF:ndisp=disp,1000,/ \
- LINE1:ndisp#0000FF:"Jitter" \
- GPRINT:ndisp:LAST:%lf
+ LINE1:disp#0000FF:"Jitter" \
+ GPRINT:disp:LAST:%lf
# fat (weekly) graphs