#!/bin/bash
#
printf "\nSystem Information:\n" > /etc/motd
printf '%s\n' '---'>> /etc/motd
hostnamectl >> /etc/motd
