Skip to content

Commit

Permalink
Add variable detection for memorysize
Browse files Browse the repository at this point in the history
This fact is also not present on Solaris 10.  Be defensive about
requiring it.
  • Loading branch information
Jeff McCune committed May 11, 2011
1 parent c8d261f commit 0091971
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/motd.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ IP: <%= ipaddress %>
<% if has_variable?("processor0") then -%>
Processor: <%= processor0 %>
<% end -%>
<% if has_variable?("memorysize") then -%>
Memory: <%= memorysize %>
<% end -%>

-------------------------------------------------

0 comments on commit 0091971

Please sign in to comment.