Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2008 21:29:32 +0900
From:      Randy Bush <randy@psg.com>
To:        current@freebsd.org
Subject:   /etc/rc.d/ppp  ppp_unit
Message-ID:  <480C88AC.8020708@psg.com>

next in thread | raw e-mail | index | archive | help
        # 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

randy



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