diff options
| author | beatrice <beatrice@dangofactory.net> | 2026-11-22 20:00:14 +0900 |
|---|---|---|
| committer | beatrice <beatrice@dangofactory.net> | 2026-11-22 20:00:14 +0900 |
| commit | 8f68d02045982da8f00a559835b500caf3a1967d (patch) | |
| tree | c8d0e92969b92e1b6559a0e032b6aa710a8ae2d9 /web/mirror.html | |
| parent | bb5ff95073e5001be7dbf58ffce80d7926deff0b (diff) | |
| download | mrtg-master.tar.gz mrtg-master.zip | |
Diffstat (limited to 'web/mirror.html')
| -rw-r--r-- | web/mirror.html | 53 |
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> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> -<head> -<style type="text/css"> -body { - margin: 0px; - padding: 0px; - background-color: #909090; - font-family: sans-serif; - font-size: 10px; -} - -#hoster a { - color: black; - text-decoration: none; -} -</style> -</head> -<body> -<div id="hoster"> -mirror by <a target="_top" href="http://YOUR.SITE">Company</a> -</div> -</body> -</html> -</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>" |
