X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmotd%2Ftemplates%2Fmotd.erb;h=24f810b8ee1a09784af9cc102f44b9ff47823d74;hb=4d75b2db79978fa0592442ea11ff9a6843e527a8;hp=b186dc9172e7208313c5323f1e1733077bd0c00d;hpb=86bf9c4bc0efb54a2d9beed89508a1e415f4fa98;p=mirror%2Fdsa-puppet.git diff --git a/modules/motd/templates/motd.erb b/modules/motd/templates/motd.erb index b186dc917..24f810b8e 100644 --- a/modules/motd/templates/motd.erb +++ b/modules/motd/templates/motd.erb @@ -1,3 +1,4 @@ + This device is for authorized users only. All traffic on this device is monitored and will be used as evidence for prosecutions. @@ -44,6 +45,8 @@ if (nodeinfo['ldap'].at(0)) and (nodeinfo['ldap'][0].has_key?('purpose')) purp += "\t" + l + "\n" end end +else + purp += "\n" end if nodeinfo.has_key?('footer') @@ -53,3 +56,4 @@ purp -%> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +