/etc/update-motd.d
NameSizeModeActions
00-header12200755editdlrm
10-help-text11510755editdlrm
50-landscape-sysinfo15750755editdlrm
50-motd-news50230755editdlrm
85-fwupd840755editdlrm
90-updates-available2180755editdlrm
91-contract-ua-esm-status2960755editdlrm
91-release-upgrade5580755editdlrm
92-unattended-upgrades1650755editdlrm
95-hwe-eol3790755editdlrm
97-overlayroot1110755editdlrm
98-fsck-at-reboot1420755editdlrm
98-reboot-required1440755editdlrm
Edit: /etc/update-motd.d/00-header (1220B)
#!/bin/sh # # 00-header - create the header of the MOTD # Copyright (C) 2009-2010 Canonical Ltd. # # Authors: Dustin Kirkland # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. [ -r /etc/lsb-release ] && . /etc/lsb-release if [ -z "$DISTRIB_DESCRIPTION" ] && [ -x /usr/bin/lsb_release ]; then # Fall back to using the very slow lsb_release utility DISTRIB_DESCRIPTION=$(lsb_release -s -d) fi printf "Welcome to %s (%s %s %s)\n" "$DISTRIB_DESCRIPTION" "$(uname -o)" "$(uname -r)" "$(uname -m)"