From 1454d0cea688a03899c92e68efd1cc48a7706b1a Mon Sep 17 00:00:00 2001 From: Matt Rude Date: Wed, 18 May 2011 11:21:02 -0500 Subject: updates for Linux vs FreeBSD --- scripts/do-build-index | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts/do-build-index') diff --git a/scripts/do-build-index b/scripts/do-build-index index 3855b33..8312f4e 100755 --- a/scripts/do-build-index +++ b/scripts/do-build-index @@ -1,20 +1,20 @@ #!/bin/sh -POOLPAGE=/usr/local/www/data/status -TEMPLATESDIR=/usr/local/www/data/scripts/templates +POOLPAGE=/var/www/time.mattrude.com/status +TEMPLATESDIR=/var/www/time.mattrude.com/scripts/templates cd $POOLPAGE cat /dev/null > out.template echo "

NTP Hosts

" >> out.template -for X in `cat /usr/local/www/data/rrd/list-of-systems` +for X in `cat /var/www/time.mattrude.com/rrd/list-of-systems` do sed -e s/POOL/$X/g $TEMPLATESDIR/template >> out.template done @@ -23,7 +23,7 @@ sync cat $TEMPLATESDIR/index-head out.template $TEMPLATESDIR/index-tail > index.html # Build the indexs for the hosts. -for X in `cat /usr/local/www/data/rrd/list-of-systems` +for X in `cat /var/www/time.mattrude.com/rrd/list-of-systems` do cat /dev/null > out.template sed -e s/POOL/$X/g $TEMPLATESDIR/template3 >> out.template -- cgit v1.2.3-59-ga6da