Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 72807 Details for
Bug 112049
baselayout-1.12.0_pre10 : pppd net module - updetach & linkname pppd params
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to be applied to pppd net module
pppd.diff (text/plain), 1.40 KB, created by
Alin Năstac (RETIRED)
on 2005-11-13 01:43:44 UTC
(
hide
)
Description:
Patch to be applied to pppd net module
Filename:
MIME Type:
Creator:
Alin Năstac (RETIRED)
Created:
2005-11-13 01:43:44 UTC
Size:
1.40 KB
patch
obsolete
>--- pppd.orig 2005-11-10 23:44:22.000000000 +0200 >+++ pppd 2005-11-11 01:54:28.960030592 +0200 >@@ -16,8 +16,8 @@ > # Returns 1 if pppd is installed, otherwise 0 > pppd_check_installed() { > if [[ ! -x /usr/sbin/pppd ]]; then >- ${1:-false} && eerror "For PPP support, emerge net-dialup/ppp" >- return 1 >+ ${1:-false} && eerror "For PPP support, emerge net-dialup/ppp" >+ return 1 > fi > return 0 > } >@@ -114,8 +116,8 @@ > fi > > # PPP requires a link to communicate over - normally a serial port >- # PPPoE communicates over ethernet >- # PPPoA communictes over ATM >+ # PPPoE communicates over Ethernet >+ # PPPoA communicates over ATM > # In all cases, the link needs to be available before we start PPP > eval link=\"\$\{link_${ifvar}\}\" > if [[ -z ${link} ]]; then >@@ -225,6 +227,11 @@ > > insert_link_in_opts=0 > fi >+ if [[ " ${opts} " == *" plugin pppoatm.so "* ]]; then >+ # Load the pppoa kernel module - if this fails, we have to hope >+ # that pppoa support is compiled into the kernel >+ modprobe pppoatm 2>/dev/null >+ fi > [[ ${insert_link_in_opts} -eq 0 ]] || opts="${link} ${opts}" > > ebegin "Running pppd" >@@ -234,6 +241,8 @@ > if [[ " ${opts} " == *" updetach "* ]]; then > local addr=$( interface_get_address "${iface}" ) > einfo "${iface} received address ${addr}" >+ else >+ go_background > fi > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 112049
:
72560
|
72561
|
72573
|
72605
|
72608
|
72644
|
72645
|
72807
|
72808
|
72809
|
72810
|
72868
|
72885
|
72938
|
72992
|
73062
|
73143