slitaz-configs view rootfs/etc/skel/Public/cgi-bin/tests.sh @ rev 5

Full up /etc/skel (used to preconfigure a user account)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jun 09 20:54:48 2008 +0200 (2008-06-09)
parents
children 028eaa5596b8
line source
1 #!/bin/sh
2 #
4 # Variables.
5 HOST=`cat /etc/hostname`
6 RELEASE=`uname -r`
8 # Content type.
9 echo -e "Content-Type: text/html\n"
11 # Header.
12 echo "<html>"
13 echo "<head>"
14 echo " <title>cgi-bin tests</title>"
15 echo "</head>"
16 echo "<body>"
18 # Page content.
19 echo "<h1>Web server cgi-bin tests</h1>"
20 echo "<hr>"
21 echo "<p>"
22 echo "This script is runnig on $HOST with a Linux kernel $RELEASE."
23 echo "</p>"
25 # Footer.
26 echo "</body>"
27 echo "</html>"