#!/bin/sh hash run-parts >/dev/null 2>&1 && run-parts /etc/update-motd.d/ && exit for f in /etc/update-motd.d/*; do sh "$f" done