Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2008 21:18:10 -0500
From:      Brooks Davis <brooks@freebsd.org>
To:        Randy Bush <randy@psg.com>
Cc:        current@freebsd.org
Subject:   Re: /etc/rc.d/ppp  ppp_unit
Message-ID:  <20080422021810.GA22905@lor.one-eyed-alien.net>
In-Reply-To: <480D1E1A.9010109@psg.com>
References:  <480C88AC.8020708@psg.com> <20080421164159.GB19629@lor.one-eyed-alien.net> <480D1E1A.9010109@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--SLDf9lqlvOQaIe6s
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D\$ppp_${_ppp_profile_cleaned}_unit
> >>         if [ -n "_ppp_unit" ]; then
> >>                 _ppp_unit=3D"-unit${_ppp_unit}"
> >>         fi
> >>         rc_flags=3D"$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
> >=20
> > This was fixed in CURRENT with rev 1.19 on April 6th.
>=20
> cvsupping now.  as it is a soekris, makes will take a while.
>=20
> 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
>=20
> # REQUIRE: netif isdnd ldconfig
>                        ^^^^^^^^

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

-- Brooks

--SLDf9lqlvOQaIe6s
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iD8DBQFIDUrhXY6L6fI4GtQRAvCcAKCrGVbfbJGSYQAfO4LNawzR0AYIoQCfay/7
44QcP0hULg9O13EbovgcXZk=
=RW6L
-----END PGP SIGNATURE-----

--SLDf9lqlvOQaIe6s--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080422021810.GA22905>