Add . /etc/rc.conf to pick variables
This commit is contained in:
parent
11cc829fae
commit
2d0559fde2
@ -1,9 +1,14 @@
|
||||
#
|
||||
# site-specific startup actions, daemons
|
||||
#
|
||||
# $Id$
|
||||
# $Id: rc.local,v 1.23 1997/02/23 09:20:47 peter Exp $
|
||||
#
|
||||
|
||||
# If there is a global system configuration file, suck it in.
|
||||
if [ -f /etc/rc.conf ]; then
|
||||
. /etc/rc.conf
|
||||
fi
|
||||
|
||||
T=/tmp/_motd
|
||||
rm -f $T
|
||||
uname -v | sed -e 's,^\([^#]*\) #\(.* [1-2][0-9][0-9][0-9]\).*/\([^\]*\) $,\1 (\3) #\2,' > $T
|
||||
|
Loading…
x
Reference in New Issue
Block a user