Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 72809 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]
/etc/ppp/ip-down
ip-down (text/plain), 991 bytes, created by
Alin Năstac (RETIRED)
on 2005-11-13 01:49:11 UTC
(
hide
)
Description:
/etc/ppp/ip-down
Filename:
MIME Type:
Creator:
Alin Năstac (RETIRED)
Created:
2005-11-13 01:49:11 UTC
Size:
991 bytes
patch
obsolete
>#!/bin/sh > ># this is a script which is executed after disconnecting the ppp interface. ># look at man pppd for details > ># the followings parameters are available: ># $1 = interface-name ># $2 = tty-device ># $3 = speed ># $4 = local-IP-address ># $5 = remote-IP-address ># $6 = ipparam > >#Support for the new Gentoo baselayout >if [[ "$(readlink --canonicalize "/etc/init.d/net.$1")" == "/etc/init.d/net.lo" && > -f "/lib/rcscripts/net.modules.d/helpers.d/pppd-wrapper" ]] ; then > . /lib/rcscripts/net.modules.d/helpers.d/pppd-wrapper down $1 >elif [ "$USEPEERDNS" ]; then > > # taken from debian's 0000usepeerdns > # follow any symlink to find the real file > REALRESOLVCONF=$(readlink --canonicalize /etc/resolv.conf) > > if [ "$REALRESOLVCONF" != "/etc/ppp/resolv.conf" ]; then > > # if an old resolv.conf file exists, restore it > if [ -e $REALRESOLVCONF.pppd-backup ]; then > mv $REALRESOLVCONF.pppd-backup $REALRESOLVCONF > fi > > fi > >fi > >[ -f /etc/ppp/ip-down.local ] && . /etc/ppp/ip-down.local "$@"
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 Raw
Actions:
View
Attachments on
bug 112049
:
72560
|
72561
|
72573
|
72605
|
72608
|
72644
|
72645
|
72807
|
72808
| 72809 |
72810
|
72868
|
72885
|
72938
|
72992
|
73062
|
73143