summaryrefslogtreecommitdiffstats
path: root/src/var/www/cgi-bin/uptime.cgi
blob: f1badaeabc69df384a5721b37435045832b2f1e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

cat <<EOF
Content-Type: text/html; charset=utf-8

<!DOCTYPE html>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>Operating System Uptime</title>
	</head>
	<body>
		<h1>Operating System Uptime</h1>
		<pre>$(uptime)</pre>
	</body>
</html>
EOF