Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 574 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 574 Bytes

MOTD script for Raspberry Pi

Installation

Copy script into /etc/profile.d/ directory using Wget:

sudo wget -q -O /etc/profile.d/motd.sh https://raw.githubusercontent.com/vangyyy/raspi-motd/master/motd.sh
sudo chmod +x /etc/profile.d/motd.sh

or with cURL:

sudo curl -s -o /etc/profile.d/motd.sh https://raw.githubusercontent.com/vangyyy/raspi-motd/master/motd.sh
sudo chmod +x /etc/profile.d/motd.sh

Optionally to remove the default MOTD run:

sudo truncate -s 0 /etc/motd