update-motd

Dynamically update /etc/motd without relying on pam_motd
git clone git://git.danielmoch.com/update-motd.git
Log | Files | Refs

00-header (110B)


      1 #!/bin/sh
      2 if [ -f /etc/os-release ]
      3 then
      4     . /etc/os-release
      5     echo
      6     echo "Welcome to $PRETTY_NAME"
      7 fi