From 9f1f5e8d5361673478e4da90275f62c9e8dfba55 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Mon, 25 Jun 2001 20:40:02 +0000 Subject: [PATCH] Automatically exec bash at startup if it exists^U Turn on the display of tips from the freebsd-tips database at login time. --- share/skel/dot.login | 3 +-- share/skel/dot.profile | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/share/skel/dot.login b/share/skel/dot.login index 3032ef97c762..894021a83794 100644 --- a/share/skel/dot.login +++ b/share/skel/dot.login @@ -5,5 +5,4 @@ # see also csh(1), environ(7). # -# Uncomment to display a random cookie each login: -# [ -x /usr/games/fortune ] && /usr/games/fortune -s +[ -x /usr/games/fortune ] && /usr/games/fortune freebsd-tips diff --git a/share/skel/dot.profile b/share/skel/dot.profile index a5d3713fc00f..cba626c96b93 100644 --- a/share/skel/dot.profile +++ b/share/skel/dot.profile @@ -20,3 +20,5 @@ PAGER=more; export PAGER # set ENV to a file invoked each time sh is started for interactive use. ENV=$HOME/.shrc; export ENV + +[ -x /usr/games/fortune ] && /usr/games/fortune freebsd-tips