Re: /etc/rc.d/ppp ppp_unit

From: Brooks Davis <brooks_at_freebsd.org>
Date: Mon, 21 Apr 2008 11:42:00 -0500
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.

-- Brooks

Received on Mon Apr 21 2008 - 14:41:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:30 UTC