Browse Source

from netbsd: start mrouted like routed

OPENBSD_2_0
deraadt 29 years ago
parent
commit
4adbeaa4a5
2 changed files with 9 additions and 2 deletions
  1. +2
    -1
      src/etc/netstart
  2. +7
    -1
      src/etc/rc

+ 2
- 1
src/etc/netstart View File

@ -1,10 +1,11 @@
#!/bin/sh -
#
# $NetBSD: netstart,v 1.22 1995/12/17 18:31:09 perry Exp $
# $NetBSD: netstart,v 1.23 1995/12/30 01:30:03 thorpej Exp $
# @(#)netstart 5.9 (Berkeley) 3/30/91
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=-q
mrouted_flags=NO # for 'normal' use: mrouted_flags=""
rarpd_flags=NO # for 'normal' use: rarpd_flags="-a"
bootparamd_flags=NO # for 'normal' use: bootparamd_flags=""
rbootd_flags=NO # for 'normal' use: rbootd_flags=""


+ 7
- 1
src/etc/rc View File

@ -190,7 +190,13 @@ elif [ "X${routed_flags}" != X"NO" ]; then
echo -n ' routed'; routed $routed_flags
fi
# $name_flags is imported from /etc/netstart;
# $mrouted_flags is imported from /etc/netstart;
# If $mrouted_flags == NO, then mrouted isn't run.
if [ "X${mrouted_flags}" != X"NO" ]; then
echo -n ' mrouted'; mrouted $mrouted_flags
fi
# $named_flags is imported from /etc/netstart;
# if $named_flags != NO, named is run.
if [ "X${named_flags}" != X"NO" ]; then
echo -n ' named'; named $named_flags


Loading…
Cancel
Save