/etc/rc.d/ppp ppp_unit

Randy Bush randy at psg.com
Mon Apr 21 12:29:34 UTC 2008


        # 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


More information about the freebsd-current mailing list