FS#2719 - ifplugd - ifdown issues
Attached to Project:
Arch Linux
Opened by Aaron Griffin (phrakture) - Wednesday, 11 May 2005, 03:34 GMT
Last edited by Dale Blount (dale) - Wednesday, 11 May 2005, 12:10 GMT
Opened by Aaron Griffin (phrakture) - Wednesday, 11 May 2005, 03:34 GMT
Last edited by Dale Blount (dale) - Wednesday, 11 May 2005, 12:10 GMT
|
Details
ifplugd.action (part of the ifplugd package) should have
ifdown match the network script (that is, it is missing an
additional "ifconfig $1 down" call)
On my machine this causes issues when switching from wired to wireless, where the eth0 connection does not go down, and apps like firefox will use eth0 before wlan0 (dunno how it orders them) My modified ifdown looks like this: ifdown() { varname="\$${1}" eval new_ifline=$varname if [ "$new_ifline" = "dhcp" ]; then /bin/kill `cat /etc/dhcpc/dhcpcd-${1}.pid` fi /sbin/ifconfig $1 down return $? } |
This task depends upon
Closed by Kevin Piche (kpiche)
Monday, 06 June 2005, 02:44 GMT
Reason for closing: Fixed
Additional comments about closing: Merged the fix from phrakture and upgraded to version 0.28.
Monday, 06 June 2005, 02:44 GMT
Reason for closing: Fixed
Additional comments about closing: Merged the fix from phrakture and upgraded to version 0.28.