misc/163321: allow _fib syntax in rc.conf
Eugen Konkov
kes-kes at yandex.ru
Thu Dec 15 19:30:10 UTC 2011
>Number: 163321
>Category: misc
>Synopsis: allow _fib syntax in rc.conf
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 15 19:30:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Eugen Konkov
>Release: FREEBSD 7
>Organization:
ISP FreeLine
>Environment:
FreeBSD kes.net.ua 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Sat Jan 3 01:15:39 EET 2009 :/usr/obj/usr/src/sys/KES_KERN_v7 i386
>Description:
rc.conf does not allow to set for daemon its fib. thist patch allow that feature
>How-To-Repeat:
>Fix:
< # $FreeBSD: src/etc/rc.subr,v 1.77.2.1.2.1 2008/11/25 02:59:29 kensmith Exp $
---
> # $FreeBSD: src/etc/rc.subr,v 1.77.2.1 2008/05/12 07:29:03 mtm Exp $
605d604
<
664a664,669
> _fib=
> if [ "${name}_fib" && "${name}_fib" ne "NO" ]; then
> eval _fib=\$${name}_fib
> _fib="/usr/sbin/setfib $_fib"
> fi
>
670c675
< $_chroot $command $rc_flags $command_args"
---
> $_chroot $_fib $command $rc_flags $command_args"
674c679
< $command $rc_flags $command_args"
---
> $_fib $command $rc_flags $command_args"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list