svn keywords, and url in specfile
[nodeconfig.git] / PlanetLabConf / issue.php
1 <?php
2 //
3 // /etc/issue
4 //
5 // Mark Huang <mlhuang@cs.princeton.edu>
6 // Copyright (C) 2004-2006 The Trustees of Princeton University
7 //
8
9 // For PLC_NAME, etc.
10 include('plc_config.php');
11
12 $PLC_NAME = PLC_NAME;
13 $PLC_WWW_HOST = PLC_WWW_HOST;
14 $PLC_WWW_PORT = PLC_WWW_PORT;
15 $PLC_MAIL_SUPPORT_ADDRESS = PLC_MAIL_SUPPORT_ADDRESS;
16
17 if ($PLC_WWW_PORT == 443) {
18   $PLC_WWW_URL = "https://$PLC_WWW_HOST/";
19 } elseif ($PLC_WWW_PORT != 80) {
20   $PLC_WWW_URL = "http://$PLC_WWW_HOST:$PLC_WWW_PORT/";
21 } else {
22   $PLC_WWW_URL="http://$PLC_WWW_HOST/";
23 }
24
25 echo <<<EOF
26 $PLC_NAME Node: \\n
27 Kernel \\r on an \\m
28 $PLC_WWW_URL
29
30 This machine is a node in the $PLC_NAME distributed network. If you
31 require assistance in administering this node, please contact
32 ${PLC_MAIL_SUPPORT_ADDRESS}.
33
34 Console login to this node is restricted to site_admin.
35
36
37 EOF;
38
39 ?>