title: update-motd.d scripts not running
body: <p>I have created a test script below to add to /etc/update-motd.d/05-lsb-release</p>
  
  <pre><code>#!/bin/sh
  echo
  lsb_release -a
  </code></pre>
  
  <p>but when i have rebooted the machine, restarted SSH and connected to it through SSH i am not seeing the changes applied</p>
  
  <pre><code>Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-105-generic x86_64)
  
  0 packages can be updated. 0 updates are security updates. 
  
  Last login: Sun Dec 11 17:08:40 2016 from xxx.xxx.xxx.xxx
  paul@ubuntu1404:~$
  </code></pre>
  
  <p>the output in /var/run/update-motd.dynamic is the same as above, however /var/run/update-motd.dynamic.new shows the correct information</p>
  
  <pre><code>Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-105-generic x86_64)
  
  Distributor ID: Ubuntu
  Description:    Ubuntu 14.04.5 LTS
  Release:        14.04
  Codename:       trusty
  
  0 packages can be updated.
  0 updates are security updates.
  </code></pre>
  
  <p>how can i see the changes when i log in?</p>
  
  <p>I am running the latest updates to Ubuntu 14.04.5 LTS</p>