Browse Source

do chio.conf install from right place

OPENBSD_4_0
deraadt 18 years ago
parent
commit
225de384d9
2 changed files with 14 additions and 2 deletions
  1. +3
    -2
      src/etc/Makefile
  2. +11
    -0
      src/etc/chio.conf

+ 3
- 2
src/etc/Makefile View File

@ -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; \


+ 11
- 0
src/etc/chio.conf View File

@ -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
# }

Loading…
Cancel
Save