From owner-cvs-all Mon Nov 4 22: 0:17 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2E3837B401; Mon, 4 Nov 2002 22:00:15 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93EBB43E3B; Mon, 4 Nov 2002 22:00:15 -0800 (PST) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gA55wVmV080053; Mon, 4 Nov 2002 21:58:31 -0800 (PST) (envelope-from brooks@repoman.freebsd.org) Received: (from brooks@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gA55wVKs080052; Mon, 4 Nov 2002 21:58:31 -0800 (PST) Message-Id: <200211050558.gA55wVKs080052@repoman.freebsd.org> From: Brooks Davis Date: Mon, 4 Nov 2002 21:58:31 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pppd sys-bsd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG brooks 2002/11/04 21:58:31 PST Modified files: usr.sbin/pppd sys-bsd.c Log: Test for the existance of kernel ppp support by seeing if the kernel has the module compiled in or loaded instead of bogusly checking for ppp0. Also if and only if the caller is actually root and the kernel does not have ppp support, try to load the ppp module before giving up. Revision Changes Path 1.19 +14 -12 src/usr.sbin/pppd/sys-bsd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message