blob: 4733ee6539f94908f88e730cd8fac70b987c8767 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/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">
<meta http-equiv="refresh" content="10">
<title>Operating System Uptime</title>
</head>
<body>
<h1>Operating System Uptime</h1>
<pre>$(uptime)</pre>
</body>
</html>
EOF
|