2 This device is for authorized users only. All traffic on this device
3 is monitored and will be used as evidence for prosecutions.
5 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9 if nodeinfo.has_key?('nameinfo')
10 purp += nodeinfo['nameinfo'] + "\n\n"
13 purp += 'Welcome to ' + fqdn
14 if (nodeinfo['ldap'].at(0)) and (nodeinfo['ldap'][0].has_key?('purpose'))
15 if nodeinfo['ldap'][0]['purpose'].include?('buildd')
16 purp += ", the Debian "
17 if nodeinfo['ldap'][0].has_key?('architecture')
18 purp += nodeinfo['ldap'][0]['architecture'][0]
20 purp += " build daemon\n"
21 elsif nodeinfo['ldap'][0]['purpose'].include?('porterbox')
22 purp += ", the Debian "
23 if nodeinfo['ldap'][0].has_key?('architecture')
24 purp += nodeinfo['ldap'][0]['architecture'][0]
26 purp += " porterbox\n"
28 purp += ", used for the following services:\n"
29 nodeinfo['ldap'][0]['purpose'].sort.each do |l|
30 if l =~ /\[\[(\*|-)?(.*?)\]\]/
33 if l =~ /\[\[(.*?)\|(.*?)\]\]/
36 purp += "\t" + l + "\n"
43 if nodeinfo.has_key?('footer')
44 purp += "\n" + nodeinfo['footer'] + "\n"
49 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%