summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-06-25 12:17:17 +0000
committerache <ache@FreeBSD.org>1997-06-25 12:17:17 +0000
commit2d0559fde28606e8a03c48dde0aabb560df13ee0 (patch)
tree6278a76dd8575e5c1005f5e6e893baf26084e88f /etc
parent11cc829faea7c94837080def42b5535946dd9357 (diff)
downloadFreeBSD-src-2d0559fde28606e8a03c48dde0aabb560df13ee0.zip
FreeBSD-src-2d0559fde28606e8a03c48dde0aabb560df13ee0.tar.gz
Add . /etc/rc.conf to pick variables
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.local7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/rc.local b/etc/rc.local
index 2b2a60d..3af6b3e 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
OpenPOWER on IntegriCloud