Browse Source

start the photuris daemon per default. hilfe.

OPENBSD_2_2
provos 27 years ago
parent
commit
30aa87ad62
3 changed files with 20 additions and 3 deletions
  1. +10
    -1
      src/etc/Makefile
  2. +2
    -1
      src/etc/netstart
  3. +8
    -1
      src/etc/rc

+ 10
- 1
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.60 1997/05/19 19:31:22 deraadt Exp $
# $OpenBSD: Makefile,v 1.61 1997/07/22 10:02:46 provos Exp $
TZDIR= /usr/share/zoneinfo TZDIR= /usr/share/zoneinfo
LOCALTIME= US/Pacific LOCALTIME= US/Pacific
@ -92,6 +92,15 @@ distribution-etc-root-var: distrib-dirs
${DESTDIR}/etc/mtree; \ ${DESTDIR}/etc/mtree; \
${INSTALL} -c -o root -g wheel -m 444 4.4BSD.dist \ ${INSTALL} -c -o root -g wheel -m 444 4.4BSD.dist \
${DESTDIR}/etc/mtree) ${DESTDIR}/etc/mtree)
(cd photuris; \
${INSTALL} -c -o root -g wheel -m 600 secrets.conf \
${DESTDIR}/etc/photuris; \
${INSTALL} -c -o root -g wheel -m 600 attributes.conf \
${DESTDIR}/etc/photuris; \
${INSTALL} -c -o root -g wheel -m 600 photuris.conf \
${DESTDIR}/etc/photuris; \
${INSTALL} -c -o root -g wheel -m 600 photuris.startup \
${DESTDIR}/etc/photuris)
(cd ppp; \ (cd ppp; \
${INSTALL} -c -o root -g wheel -m 600 chap-secrets \ ${INSTALL} -c -o root -g wheel -m 600 chap-secrets \
${DESTDIR}/etc/ppp; \ ${DESTDIR}/etc/ppp; \


+ 2
- 1
src/etc/netstart View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: netstart,v 1.20 1997/06/17 13:13:48 niklas Exp $
# $OpenBSD: netstart,v 1.21 1997/07/22 10:02:47 provos Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags # set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=-q routed_flags=-q
@ -11,6 +11,7 @@ rbootd_flags=NO # for 'normal' use: rbootd_flags=""
sendmail_flags=NO # for 'normal' use: sendmail_flags="-bd -q30m" sendmail_flags=NO # for 'normal' use: sendmail_flags="-bd -q30m"
named_flags=NO # for 'normal' use: named_flags="" named_flags=NO # for 'normal' use: named_flags=""
timed_flags=NO # for 'normal' use: timed_flags="" timed_flags=NO # for 'normal' use: timed_flags=""
photurisd_flags="-f" # for 'normal' use: photurisd_flags="-f"
# set the following to "YES" to turn them on # set the following to "YES" to turn them on
rwhod=NO rwhod=NO


+ 8
- 1
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.37 1997/06/20 13:01:34 deraadt Exp $
# $OpenBSD: rc,v 1.38 1997/07/22 10:02:47 provos Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -312,6 +312,13 @@ if [ "X${rbootd_flags}" != X"NO" -a -r /etc/rbootd.conf ]; then
echo -n ' rbootd'; rbootd ${rbootd_flags} echo -n ' rbootd'; rbootd ${rbootd_flags}
fi fi
# $photurisd_flags is imported from /etc/netstart;
# If $photurisd_flags == NO or /etc/photuris/ doesn't exist, then
# photurisd isn't run.
if [ "X${photurisd_flags}" != X"NO" -a -d /etc/photuris ]; then
echo -n ' photurisd'; photurisd ${photurisd_flags}
fi
if [ -x /usr/sbin/screenblank ]; then if [ -x /usr/sbin/screenblank ]; then
echo -n ' screenblank'; /usr/sbin/screenblank echo -n ' screenblank'; /usr/sbin/screenblank
fi fi


Loading…
Cancel
Save