added hostname in title
box@home root committed
Jun 19, 2013 at 23:27 UTC
cae67443bb767f0ecf41e5f0376d5490ec2effb6
1 file changed
+2
-1
netdata.start
+2
-1
@@ -107,6 +107,7 @@ then
107
fi
108
109
echo "Generating all.html"
110
+host="`hostname`"
111
cat >all.html <<EOF
112
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
113
<html xmlns="http://www.w3.org/1999/xhtml">
@@ -114,7 +115,7 @@ cat >all.html <<EOF
115
* {font-family:Arial}
116
div {float: left; margin: 0 0 0 0; }
117
</style>
117
-<title>netdata</title>
118
+<title>${host} netdata</title>
119
<head>
120
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
121