Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 42637 Details for
Bug 56943
hotplug can cause net scripts to start in wrong order
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to make net.agent ignore interfaces that should be brought up in a runlevel.
net.agent.diff (text/plain), 746 bytes, created by
Manuel McLure
on 2004-10-26 09:45:56 UTC
(
hide
)
Description:
Patch to make net.agent ignore interfaces that should be brought up in a runlevel.
Filename:
MIME Type:
Creator:
Manuel McLure
Created:
2004-10-26 09:45:56 UTC
Size:
746 bytes
patch
obsolete
>*** /etc/hotplug/net.agent.orig 2004-09-25 14:17:46.000000000 -0700 >--- /etc/hotplug/net.agent 2004-10-26 09:43:47.631675436 -0700 >*************** >*** 68,77 **** >--- 68,85 ---- > debug_mesg invoke ifup $INTERFACE > exec /sbin/ifup $INTERFACE > > # Gentoo > elif [ -f /etc/gentoo-release ]; then >+ # ignore any interfaces that will be brought up by scripts >+ # in a runlevel >+ for rlevel in /etc/runlevels/*; do >+ if [[ -e ${rlevel}/net.${INTERFACE} ]]; then >+ debug_msg skipping interface ${INTERFACE} - in runlevel >+ exit 0 >+ fi >+ done > script=/etc/init.d/net.$INTERFACE > if [ -x "$script" ]; then > debug_mesg invoke \"$script\" --quiet start > exec "$script" --quiet start > 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 56943
: 42637 |
47056