summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-02-22 15:15:55 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-02-22 15:15:55 +0000
commit1e5cad4fc04527f7a8f7c90b7ea7f40f3e59fb8c (patch)
tree0e90ddeb46fe8cb9a713fa9d1789f7f7ae54d48e /etc
parent316f96ebfa83c9b3bee865cb42f33a8fe03dd11e (diff)
Install a sample ldpd.conf file. OK dlg, deraadt
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile3
-rw-r--r--etc/ldpd.conf21
2 files changed, 23 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 9e7112b9e29..69a9856537f 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.285 2010/01/23 19:27:59 matthieu Exp $
+# $OpenBSD: Makefile,v 1.286 2010/02/22 15:15:54 claudio Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@@ -82,6 +82,7 @@ distribution-etc-root-var: distrib-dirs
${INSTALL} -c -o root -g wheel -m 600 ospf6d.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 ripd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 dvmrpd.conf ${DESTDIR}/etc
+ ${INSTALL} -c -o root -g wheel -m 600 ldpd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 pf.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g operator -m 644 chio.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 hostapd.conf ${DESTDIR}/etc
diff --git a/etc/ldpd.conf b/etc/ldpd.conf
new file mode 100644
index 00000000000..90d8c4da89c
--- /dev/null
+++ b/etc/ldpd.conf
@@ -0,0 +1,21 @@
+# $OpenBSD: ldpd.conf,v 1.1 2010/02/22 15:15:54 claudio Exp $
+
+# macros
+#fast="2"
+
+# global configuration
+# router-id 10.0.0.1
+# lfib-update no
+
+distribution independent
+retention liberal
+advertisement unsolicited
+
+interface bge0 {
+}
+interface vlan5 {
+ hello-interval $fast
+}
+interface vlan6 {
+ passive
+}