Browse Source

Put in hooks to start ypserv with flags

OPENBSD_2_2
niklas 27 years ago
parent
commit
d4d287d62b
2 changed files with 4 additions and 3 deletions
  1. +2
    -1
      src/etc/netstart
  2. +2
    -2
      src/etc/rc

+ 2
- 1
src/etc/netstart View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: netstart,v 1.19 1997/06/17 10:20:06 niklas Exp $
# $OpenBSD: netstart,v 1.20 1997/06/17 13:13:48 niklas Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=-q
@ -28,6 +28,7 @@ lpd=NO # printing daemons
# miscellaneous other flags
# only used if the appropriate server is marked YES above
gated_flags=
ypserv_flags= # E.g. -1 for YP v1, -d for DNS etc
yppasswdd_flags= # "-d /etc/yp" if passwd files is in /etc/yp
amd_dir=/amd # AMD's mount directory
amd_master=/etc/amd/master # AMD 'master' map


+ 2
- 2
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.35 1997/06/17 10:20:05 niklas Exp $
# $OpenBSD: rc,v 1.36 1997/06/17 13:13:47 niklas Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -117,7 +117,7 @@ fi
if [ -d /var/yp/binding ]; then
if [ -d /var/yp/`domainname` ]; then
# yp server capabilities needed...
echo -n ' ypserv'; ypserv
echo -n ' ypserv'; ypserv ${ypserv_flags}
#echo -n ' ypxfrd'; ypxfrd
fi


Loading…
Cancel
Save