Skip to content

Instantly share code, notes, and snippets.

@cdzombak
Last active September 26, 2019 16:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdzombak/07c5d97e4186dcc73ac4452fbf816387 to your computer and use it in GitHub Desktop.
Save cdzombak/07c5d97e4186dcc73ac4452fbf816387 to your computer and use it in GitHub Desktop.
automatic figlet based banner
#!/bin/sh
figlet -f big "$(hostname --fqdn)" | grep -v "^ *$"
#!/usr/bin/env bash
set -e
apt install -y figlet
wget -O /etc/update-motd.d/10-banner https://gist.githubusercontent.com/cdzombak/07c5d97e4186dcc73ac4452fbf816387/raw/064f69543941938df70c099371aca36a15e74f26/10-banner
chmod 755 /etc/update-motd.d/10-banner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment