Index: stable/11/etc/root/dot.login =================================================================== --- stable/11/etc/root/dot.login (revision 325814) +++ stable/11/etc/root/dot.login (revision 325815) @@ -1,12 +1,12 @@ # $FreeBSD$ # # .login - csh login script, read by login shell, after `.cshrc' at login. # -# see also csh(1), environ(7). +# See also csh(1), environ(7). # # Query terminal size; useful for serial lines. if ( -x /usr/bin/resizewin ) /usr/bin/resizewin -z -# Uncomment to display a random cookie each login: +# Uncomment to display a random cookie on each login. # if ( -x /usr/bin/fortune ) /usr/bin/fortune -s Index: stable/11/etc/root/dot.profile =================================================================== --- stable/11/etc/root/dot.profile (revision 325814) +++ stable/11/etc/root/dot.profile (revision 325815) @@ -1,12 +1,16 @@ # $FreeBSD$ # PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:~/bin export PATH HOME=/root export HOME TERM=${TERM:-xterm} export TERM PAGER=more export PAGER +# Query terminal size; useful for serial lines. if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi + +# Uncomment to display a random cookie on each login. +# if [ -x /usr/bin/fortune ] ; then /usr/bin/fortune -s ; fi Index: stable/11/share/skel/dot.login =================================================================== --- stable/11/share/skel/dot.login (revision 325814) +++ stable/11/share/skel/dot.login (revision 325815) @@ -1,9 +1,12 @@ # $FreeBSD$ # # .login - csh login script, read by login shell, after `.cshrc' at login. # -# see also csh(1), environ(7). +# See also csh(1), environ(7). # +# Query terminal size; useful for serial lines. if ( -x /usr/bin/resizewin ) /usr/bin/resizewin -z + +# Display a random cookie on each login. if ( -x /usr/bin/fortune ) /usr/bin/fortune freebsd-tips Index: stable/11/share/skel/dot.profile =================================================================== --- stable/11/share/skel/dot.profile (revision 325814) +++ stable/11/share/skel/dot.profile (revision 325815) @@ -1,27 +1,28 @@ # $FreeBSD$ # # .profile - Bourne Shell startup script for login shells # # see also sh(1), environ(7). # # These are normally set through /etc/login.conf. You may override them here # if wanted. # PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH # BLOCKSIZE=K; export BLOCKSIZE # Setting TERM is normally done through /etc/ttys. Do only override # if you're sure that you'll never log in via telnet or xterm or a # serial line. # TERM=xterm; export TERM EDITOR=vi; export EDITOR PAGER=more; export PAGER # set ENV to a file invoked each time sh is started for interactive use. ENV=$HOME/.shrc; export ENV # Query terminal size; useful for serial lines. if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi +# Display a random cookie on each login. if [ -x /usr/bin/fortune ] ; then /usr/bin/fortune freebsd-tips ; fi Index: stable/11 =================================================================== --- stable/11 (revision 325814) +++ stable/11 (revision 325815) Property changes on: stable/11 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r320672,320678