update-motd

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

10-fortune (109B)


      1 #!/bin/sh
      2 [ -d /usr/games ] && PATH=/usr/games:$PATH
      3 if type fortune > /dev/null 2>&1
      4 then
      5 	echo
      6 	fortune
      7 fi