[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rc.conf.local isn't sourced by netstart
- To: bugs_(_at_)_openbsd_(_dot_)_org
- Subject: rc.conf.local isn't sourced by netstart
- From: Han Boetes <han_(_at_)_mijncomputer_(_dot_)_nl>
- Date: Sat, 15 Jan 2005 17:50:00 +0100
- Mail-followup-to: bugs_(_at_)_openbsd_(_dot_)_org
Hi,
I just noticed that rc.conf.local isn't sourced by netstart.
Please apply this patch:
Index: netstart
===================================================================
RCS file: /cvs/src/etc/netstart,v
retrieving revision 1.102
diff -u -p -u -r1.102 netstart
--- netstart 4 Jan 2005 15:40:53 -0000 1.102
+++ netstart 15 Jan 2005 16:30:00 -0000
@@ -178,6 +178,9 @@ bridgestart() {
# Re-read /etc/rc.conf
. /etc/rc.conf
+# Re-read /etc/rc.conf.local if it exists.
+[ -f ${local_rcconf} ] && . ${local_rcconf}
+
# If we were invoked with a list of interface names, just reconfigure these
# interfaces (or bridges) and return.
if [ $1x = autobootx ]; then
# Han
Visit your host, monkey.org