summaryrefslogtreecommitdiff
path: root/web/mirror.html
diff options
context:
space:
mode:
authorbeatrice <beatrice@dangofactory.net>2026-11-22 20:00:14 +0900
committerbeatrice <beatrice@dangofactory.net>2026-11-22 20:00:14 +0900
commit8f68d02045982da8f00a559835b500caf3a1967d (patch)
treec8d0e92969b92e1b6559a0e032b6aa710a8ae2d9 /web/mirror.html
parentbb5ff95073e5001be7dbf58ffce80d7926deff0b (diff)
downloadmrtg-master.tar.gz
mrtg-master.zip
Release tarball mrtg-2.17.7.tar.gz (dist-generated files / local differences from tag)HEADmaster
Diffstat (limited to 'web/mirror.html')
-rw-r--r--web/mirror.html53
1 files changed, 0 insertions, 53 deletions
diff --git a/web/mirror.html b/web/mirror.html
deleted file mode 100644
index f6b0c32..0000000
--- a/web/mirror.html
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-export PATH=/usr/bin:/bin
-echo Content-Type: text/html
-echo
-cat <<HEAD
-<html>
-<head>
-<title>website mirror instructions</title>
-</head>
-<h1>MRTG Mirror Source</h1>
-<p>Run the following commands once a day.</p>
-<pre>
-#!/bin/sh
-cd /YOUR/MIRROR/TREE
-wget --no-host-directories --timestamping --recursive --level=1 http://oss.oetiker.ch/mrtg/mirror.html
-</pre>
-
-<p>Create a file called <b>hoster.html</b> like that:</p>
-<pre>
-&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
-&lt;html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"&gt;
-&lt;head&gt;
-&lt;style type="text/css"&gt;
-body {
- margin: 0px;
- padding: 0px;
- background-color: #909090;
- font-family: sans-serif;
- font-size: 10px;
-}
-
-#hoster a {
- color: black;
- text-decoration: none;
-}
-&lt;/style&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;div id="hoster"&gt;
-mirror by &lt;a target="_top" href="http://YOUR.SITE"&gt;Company&lt;/a&gt;
-&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-</pre>
-
-HEAD
-
-( for xt in html png jpg gif ico css js gz txt zip patch pgp md5 pdf CHANGES; do
- find . \( -name "*$xt" -not -name "stat*" -not -name "hoster*" \) -exec printf '<a href="{}">.</a>\n' \; | grep -v /.svn |egrep -v 'pub/.*html'
- done ) | sort -u
-
-echo "</body></html>"