From 225de384d9ffbf6d06030050e272062c5c2d5a52 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Sat, 3 Jun 2006 19:33:35 +0000 Subject: [PATCH] do chio.conf install from right place --- src/etc/Makefile | 5 +++-- src/etc/chio.conf | 11 +++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 src/etc/chio.conf diff --git a/src/etc/Makefile b/src/etc/Makefile index 7eee8e26..52017fe9 100644 --- a/src/etc/Makefile +++ b/src/etc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.234 2006/06/01 16:43:23 norby Exp $ +# $OpenBSD: Makefile,v 1.235 2006/06/03 19:33:35 deraadt Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= Canada/Mountain @@ -80,6 +80,7 @@ distribution-etc-root-var: distrib-dirs ${INSTALL} -c -o root -g wheel -m 600 ospfd.conf ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 dvmrpd.conf ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 pf.conf ${DESTDIR}/etc + ${INSTALL} -c -o root -g wheel -m 600 chio.conf ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 hostapd.conf ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 ipsec.conf ${DESTDIR}/etc ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ @@ -380,7 +381,7 @@ distrib: DHSIZE=1024 1536 2048 3072 4096 update-moduli: ( \ - echo '# $$OpenBSD: Makefile,v 1.234 2006/06/01 16:43:23 norby Exp $$'; \ + echo '# $$OpenBSD: Makefile,v 1.235 2006/06/03 19:33:35 deraadt Exp $$'; \ echo '# Time Type Tests Tries Size Generator Modulus'; \ ( for i in ${DHSIZE}; do \ ssh-keygen -b $$i -G /dev/stdout; \ diff --git a/src/etc/chio.conf b/src/etc/chio.conf new file mode 100644 index 00000000..bcd8e110 --- /dev/null +++ b/src/etc/chio.conf @@ -0,0 +1,11 @@ +# $OpenBSD: chio.conf,v 1.1 2006/06/03 19:33:35 deraadt Exp $ +# Configuration file for chio(8). +# Each stanza configures a changer, to enumerate the st(4) devices +# corresponding to each ch(4) drive. This file is only required +# if you need a non-default behavior. See chio(8) for details. +# +# Example: tell chio that drive 0 corresponds to rst3 and drive 1 to rst2 +# changer ch0 { +# drive rst3 +# drive rst2 +# }