diff options
author | mtm <mtm@FreeBSD.org> | 2004-03-05 08:03:04 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2004-03-05 08:03:04 +0000 |
commit | d667d273c2071159d06ae484273949ffaa5e8380 (patch) | |
tree | 3b5891c955587401eca2f7d73b06d27c668113a3 /etc/rc.d/routed | |
parent | c4b24768229476083782c4e397ab500e28cf8ed6 (diff) | |
download | FreeBSD-src-d667d273c2071159d06ae484273949ffaa5e8380.zip FreeBSD-src-d667d273c2071159d06ae484273949ffaa5e8380.tar.gz |
When this script included NetBSD specific logic, the NetBSD branch
included a start_precmd check for gated. The precommand was not
executed in the FreeBSD branch. When I did a mass removal of
NetBSD specific logic a while back this file apparently got only
a partial treatement. This bug did not have any functional consequences,
however, since the precommand was not declared to the rc.subr routines.
Noticed by: pjd
Diffstat (limited to 'etc/rc.d/routed')
-rwxr-xr-x | etc/rc.d/routed | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/etc/rc.d/routed b/etc/rc.d/routed index 2f02a2d..359d937 100755 --- a/etc/rc.d/routed +++ b/etc/rc.d/routed @@ -17,18 +17,7 @@ name="routed" # subroutines in rc.subr won't catch it. # load_rc_config $name - rcvar="router_enable" command="${router:-/sbin/${name}}" eval ${name}_flags=${router_flags} -start_precmd= - -routed_precmd() -{ - if checkyesno gated && checkyesno routed; then - warn "gated and routed both requested to be run: only running gated." - return 1 - fi -} - run_rc_command "$1" |