/etc/rc.d/ppp ppp_unit

Brooks Davis brooks at freebsd.org
Tue Apr 22 02:17:59 UTC 2008


On Tue, Apr 22, 2008 at 08:07:06AM +0900, Randy Bush wrote:
> Brooks Davis wrote:
> > On Mon, Apr 21, 2008 at 09:29:32PM +0900, Randy Bush wrote:
> >>         # Check for hard wired unit
> >>
> >>         eval _ppp_unit=\$ppp_${_ppp_profile_cleaned}_unit
> >>         if [ -n "_ppp_unit" ]; then
> >>                 _ppp_unit="-unit${_ppp_unit}"
> >>         fi
> >>         rc_flags="$rc_flags $_ppp_unit"
> >>
> >> creates the illegal invocation "-unit" when /etc/ppp/ppp.conf has
> >>
> >>    set device PPPoE:vr0
> >>
> >> and needs no unit
> >>
> >> manually starting
> >>
> >>    ppp -dedicated -nat foo
> >>
> >> works fine.  but invoking /etc/rc.d/ppp start does not work
> > 
> > This was fixed in CURRENT with rev 1.19 on April 6th.
> 
> cvsupping now.  as it is a soekris, makes will take a while.
> 
> note also that this does not fix the problem that, when you use loadable
> modules as opposed to kernel build, it needs to be hacked to rely on
> ldconfig
> 
> # REQUIRE: netif isdnd ldconfig
>                        ^^^^^^^^

Do you know what the root cause of that is?  That doesn't make sense as
a requirement.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080422/0163ca76/attachment.pgp


More information about the freebsd-current mailing list