/raspberrypi-motd

A custom message of the day (MOTD) for Raspberry Pi OS.

Primary LanguageShellMIT LicenseMIT

Logo

MOTD for Raspberry Pi OS

A custom message of the day (MOTD) for Raspberry Pi OS.

GitHub Workflow Status GitHub stars GitHub forks GitHub issues GitHub contributors GitHub

Explore the Docs - Report Bug - Request Feature

Table of Contents

Screenshots

Layout Horizontal

Layout Horizontal

Layout Hertical

Layout Hertical

Highlights

  • Written in pure Bash.
  • There is no need to install any packages.
  • Tested with Arch Linux ARM and Raspberry Pi OS (previously called Raspbian) distributions.

The information displayed are:

  • Date and Time
  • Disk Space
  • DNS Servers
  • Hostname
  • LAN IP
  • Last Login
  • Load Average
  • Logged Users
  • Memory
  • Running Processes
  • Temperature
  • Uptime
  • WAN IP
  • Welcome Message

Installation

One-Step Automated Install

Those who want to get started quickly and conveniently may install using the following command:

$ curl -sSL https://git.io/install-raspberrypi-motd | bash

Alternative Install Method

Clone our Repository and Run

Those who wish to review the code before installation may install using the following command:

$ git clone https://github.com/demartini/raspberrypi-motd.git
$ sudo bash raspberrypi-motd/install/install.sh

Post-Install

Follow the steps to complete the installation:

Remove the last login information disabling the PrintLastLog option from the sshd service editing the /etc/ssh/sshd_config file:

$ sudo nano /etc/ssh/sshd_config

Uncomment and change the following line from:

#PrintLastLog yes

to

PrintLastLog no

Then restart the sshd service:

$ sudo systemctl restart sshd

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

If you are interested in helping contribute, please take a look at our Contributing guide.

Contributors

Inspired By

Changelog

See Changelog for a human-readable history of changes.

License

Distributed under the MIT License. See LICENSE for more information.