diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2015-04-05 10:11:35 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2015-04-05 10:11:35 +0200 |
commit | 325d236acec7747fa202d94440462c887230a9c8 (patch) | |
tree | 92027c6ee5bf8cd541d6dce0376f2bd4489a39ff /clients/update-public-nms.sh | |
parent | ee6b4ccbd44c3a85e2a1d6c8a1873aafa89c3d33 (diff) |
tg15: Clean up other unused things
Diffstat (limited to 'clients/update-public-nms.sh')
-rwxr-xr-x | clients/update-public-nms.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/clients/update-public-nms.sh b/clients/update-public-nms.sh deleted file mode 100755 index 8d56251..0000000 --- a/clients/update-public-nms.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -YEAR=15 -TGMANAGE=/root/tgmanage -DIR=/srv/www/nms-public.tg${YEAR}.gathering.org -set -x -mkdir -p $DIR - -wget -qO$DIR/nettkart-dhcp.png.new http://nms.tg${YEAR}.gathering.org/dhcpkart.pl -wget -qO$DIR/led.txt.new http://nms.tg${YEAR}.gathering.org/led.pl -mv $DIR/nettkart-dhcp.png.new $DIR/nettkart-dhcp.png -mv $DIR/led.txt.new $DIR/led.txt -/usr/bin/perl $TGMANAGE/clients/update-public-speedometer.pl > $DIR/speedometer.json.tmp -mv $DIR/speedometer.json.tmp $DIR/speedometer.json - -/usr/bin/perl -i -pe 'use POSIX qw(strftime); my $timestamp = strftime("%a, %d %b %Y %H:%M:%S %z", localtime(time())); s/Sist oppdatert:.*/Sist oppdatert: $timestamp/g;' $DIR/dhcp.html -/usr/bin/perl -i -pe 'use POSIX qw(strftime); my $timestamp = strftime("%a, %d %b %Y %H:%M:%S %z", localtime(time())); s/Sist oppdatert:.*/Sist oppdatert: $timestamp/g;' $DIR/trafikk.html |