diff options
author | jkh <jkh@FreeBSD.org> | 1995-12-28 01:24:04 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-12-28 01:24:04 +0000 |
commit | 27bb84eb6544b58ec173652aa70ddc06180d30c0 (patch) | |
tree | 9dbfadd1ea3b346437a48c3b430d62c0b19d2802 /etc/netstart | |
parent | bcd430b53f3c2db01dff30480ad3d3d04963de99 (diff) | |
download | FreeBSD-src-27bb84eb6544b58ec173652aa70ddc06180d30c0.zip FreeBSD-src-27bb84eb6544b58ec173652aa70ddc06180d30c0.tar.gz |
Go to new scheme for local_startup variable. Now one can specify multiple
directories to check in looking for port startup scripts. The specific gunge
for apache httpd, gated and pcnfsd in /etc/sysconfig and /etc/netstart is
gone now. Note that pcnfsd's troubles aren't necessarily over (and probably
why NetBSD brought it into their sources) - anyone adding pcnfsd will STILL
have to tweak /etc/sysconfig in order to set the new variable
`weak_mountd_authentication' to YES. The flags to mountd are directly affected
by pcnfsd's requirements for non-root mounts, unfortunately! :-(
Submitted by: paul & jkh
Diffstat (limited to 'etc/netstart')
-rwxr-xr-x | etc/netstart | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/etc/netstart b/etc/netstart index 9394644..7d2bd37 100755 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: netstart,v 1.34 1995/08/23 07:12:15 jkh Exp $ +# $Id: netstart,v 1.35 1995/08/25 07:18:04 davidg Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -56,21 +56,17 @@ done if [ "x$gateway" != "xNO" ]; then echo 'configuring host as a gateway.' - sysctl -w net.inet.ip.forwarding=1 + sysctl -w net.inet.ip.forwarding=1 >& /dev/null fi -if [ "x$gated" != "xNO" -o "x$routedflags" != "xNO" ] ; then - echo -n starting routing daemons: +if [ "x$routedflags" != "xNO" ] ; then + echo -n starting routing daemon: - # $gated and $routedflags are imported from /etc/sysconfig. - # If $gated == YES, gated is used; otherwise routed. + # $routedflags is imported from /etc/sysconfig. # If $routedflags == NO, routed isn't run. - if [ "X${gated}" = X"YES" -a -r /etc/gated.conf ]; then - echo -n ' gated'; /usr/local/sbin/gated $gatedflags - elif [ "X${routedflags}" != X"NO" ]; then + if [ "X${routedflags}" != X"NO" ]; then echo -n ' routed'; routed $routedflags fi - echo '.' fi |