From 2d0559fde28606e8a03c48dde0aabb560df13ee0 Mon Sep 17 00:00:00 2001 From: ache Date: Wed, 25 Jun 1997 12:17:17 +0000 Subject: [PATCH] Add . /etc/rc.conf to pick variables --- etc/rc.local | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/etc/rc.local b/etc/rc.local index 2b2a60d37264..3af6b3e91d94 100644 --- a/etc/rc.local +++ b/etc/rc.local @@ -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