Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 21341 Details for
Bug 34484
[PATCH] sys-apps/ifplugd doesn't work with dhcp (net.eth0)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch against ifplugd.action
out (text/plain), 794 bytes, created by
Malte S. Stretz
on 2003-11-26 17:26:23 UTC
(
hide
)
Description:
patch against ifplugd.action
Filename:
MIME Type:
Creator:
Malte S. Stretz
Created:
2003-11-26 17:26:23 UTC
Size:
794 bytes
patch
obsolete
>--- ifplugd.action.orig 2003-11-27 01:27:14.000000000 +0100 >+++ ifplugd.action 2003-11-27 02:56:21.000000000 +0100 >@@ -9,20 +9,26 @@ > # up or down. > # > >-case "$2" in >- up) >- state=start >- ;; >- down) >- state=stop >- ;; >- *) >- echo "$0: wrong arguments" >- echo "Call with <interface> <up|down>" >- exit 1 >- ;; >-esac >+rc_script=/etc/init.d/net.$1 > >-[ -x /etc/init.d/net.$1 ] && /etc/init.d/net.$1 --quiet $state >+if [ -x ${rc_script} ]; then >+ case "$2" in >+ up) >+ /sbin/ifconfig $1 down &> /dev/null >+ $rc_script --quiet start || exit $? >+ ;; >+ down) >+ $rc_script --quiet stop || exit $? >+ ;; >+ *) >+ echo "$0: wrong arguments" >+ echo "Call with <interface> <up|down>" >+ exit 1 >+ ;; >+ esac >+else >+ echo "$0: init script ${rc_script} not found" >+ exit 2 >+fi > > exit 0
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 34484
: 21341 |
30710
|
32079
|
32080
|
37685