From 8a34d1dee00e9a262928c1a9eda639063762b4f7 Mon Sep 17 00:00:00 2001 From: Jim Pryor Date: Sat, 28 Nov 2009 20:47:18 -0500 Subject: connections/ethernet: report_{debug,iproute} fixes * fix report_debug filename * unecessary return after report_iproute * add another report_debug Signed-off-by: Jim Pryor --- src/connections/ethernet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/connections/ethernet b/src/connections/ethernet index eb0bd8d..8e51cf9 100644 --- a/src/connections/ethernet +++ b/src/connections/ethernet @@ -137,12 +137,12 @@ ethernet_down() { if [[ "$IP" == "dhcp" ]]; then if [[ -f "/var/run/dhcpcd-${INTERFACE}.pid" ]]; then - report_debug ethernet_iproute_down dhcpcd -qx "$INTERFACE" + report_debug ethernet_down dhcpcd -qx "$INTERFACE" dhcpcd -qx "$INTERFACE" &>/dev/null fi fi - report_debug ethernet_iproute_down if_down + report_debug ethernet_down if_down if [[ "$CONNECTION" == "wireless" ]]; then bring_interface flush "$INTERFACE" else -- cgit v1.2.3-24-g4f1b