mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
Call gated as /usr/local/sbin/gated instead of possible adding
/usr/local/sbin to rc PATH
This commit is contained in:
parent
895449d220
commit
5c613ed190
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7774
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: netstart,v 1.26 1995/04/09 09:54:41 rgrimes Exp $
|
||||
# $Id: netstart,v 1.27 1995/04/11 01:22:15 rgrimes Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# If there is a global system configuration file, suck it in.
|
||||
@ -51,7 +51,7 @@ if [ "x$gated" != "xNO" -o "x$routedflags" != "xNO" ] ; then
|
||||
# If $routedflags == NO, routed isn't run.
|
||||
|
||||
if [ "X${gated}" = X"YES" -a -r /etc/gated.conf ]; then
|
||||
echo -n ' gated'; gated $gatedflags
|
||||
echo -n ' gated'; /usr/local/sbin/gated $gatedflags
|
||||
elif [ "X${routedflags}" != X"NO" ]; then
|
||||
echo -n ' routed'; routed $routedflags
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user