This project customizes your Message Of The Day at login to have a fun custom banner, some stats about your system, and the weather. It automates installation, configures fonts, displays live weather, and ensures you get a rich and dynamic login experience out of the box.
- Automated installer for
dynamic_motd - Custom banner text displayed in a rotating set of fun figlet fonts (customizable!)
- Colorful output with
lolcat - System stats at a glance:
- 🖥️ Hostname
- ⏱️ Uptime
- 🧠 Memory usage
- 💽 Root filesystem disk usage
- 🌦️ Live weather via wttr.in
- 🔀 Font rotation – different figlet font at each login
- 👎 Failsafe behavior – if a tool is missing, output gracefully falls back
You can install this tool in two easy ways:
fetch -o - https://raw.githubusercontent.com/kevinlearnscoding/FreeBSD-MOTD-customizer/refs/heads/main/FreeBSD-MOTD-Customizer.sh | shfetch -o installer.sh https://raw.githubusercontent.com/kevinlearnscoding/FreeBSD-MOTD-customizer/refs/heads/main/FreeBSD-MOTD-Customizer.sh
chmod +x installer.sh
./installer.sh- Requires FreeBSD 13.0+
- Installer will automatically install:
- Unicode support:
- Use a UTF-8 locale (e.g., en_US.UTF-8)
- Use a font with extended glyph support (recommended: Nerd Fonts)
Not all terminals render fancy characters equally. If icons like 🧠 or 🌦️ don’t appear correctly, try switching fonts or terminals.
-
Prompts you for setup details:
- Banner text
- City or airport code (for weather)
- Temperature units (°F or °C)
-
Installs dependencies and configures system services:
- Disables update_motd
- Enables dynamic_motd
- Backs up /etc/motd.template
-
Deploys a new MOTD generator script at /usr/local/etc/rc.motd which:
- Displays your custom banner in a rotating font
- Adds system stats with decorative dividers
- Fetches and shows weather info
-
Starts the service immediately, so you see results on your next shell login.
__ __ _____
| \/ | / ____|
| \ / |_ _ | (___ ___ _ ____ _____ _ __
| |\/| | | | | \___ \ / _ \ '__\ \ / / _ \ '__|
| | | | |_| | ____) | __/ | \ V / __/ |
|_| |_|\__, | |_____/ \___|_| \_/ \___|_|
__/ |
|___/
Font used: big
------------------------------------------------------------
🖥️ Hostname : freebsd-testbox
⏱️ Uptime : 3 days
🧠 Memory : 2048 MiB used / 8192 MiB total
💽 Disk : 12G used / 32G
------------------------------------------------------------
🌦️ Weather:
San Francisco: 🌤️ +22°C
------------------------------------------------------------
After installation, you can edit the MOTD script directly:
/usr/local/etc/rc.motd
- Add or remove fonts from the rotation
- Change the banner text
- Adjust the weather query URL
- Insert your own custom system checks or ASCII art
Changes take effect immediately on the next login.
- Contributions to this installer are welcome!
- If you want to improve dynamic_motd itself, head over to the upstream repo: sstallion/dynamic_motd.
This project is an installer and customizer only and is distributed under the BSD 2-Clause License, in line with the upstream dynamic_motd.
See LICENSE for details.
All credit for the underlying MOTD functionality belongs to sstallion and contributors to dynamic_motd.

