修改 Ubuntu 系统的默认欢迎语
注释掉 10-help-text 文件中的相关信息(如果有)
# vim /etc/update-motd.d/10-help-text
#printf "\n"
#printf " * Documentation: https://help.ubuntu.com\n"
#printf " * Management: https://landscape.canonical.com\n"
#printf " * Support: https://ubuntu.com/advantage\n"
注释掉 80-livepatch 文件中的相关信息(如果有)
# vim /etc/update-motd.d/80-livepatch
#case "$livepatch_status" in
# "disabled (not available)")
# # do nothing
# ;;
# "enabled")
# echo
# echo " * Canonical Livepatch is enabled."
# print_status "${check_state}" "${patch_state}"
# ;;
# "disabled")
# echo
# echo " * Canonical Livepatch is available for installation."
# echo " - Reduce system reboots and improve kernel security. Activate at:"
# echo " https://ubuntu.com/livepatch"
# ;;
# *)
# echo
# echo " * Canonical Livepatch is in an unknown state."
# echo " - Please see /var/log/syslog for more information."
# echo " Status: \"$livepatch_status\""
# ;;
#esac