summaryrefslogtreecommitdiffstats
path: root/src/connections
diff options
context:
space:
mode:
authorJim Pryor <profjim@jimpryor.net>2009-11-29 02:47:18 +0100
committerJames Rayner <james@archlinux.org>2009-12-03 21:38:02 +0100
commit8a34d1dee00e9a262928c1a9eda639063762b4f7 (patch)
treed127cf2851a89c8c9c9eb9df49ed12f1d1a22f35 /src/connections
parentdd98055d7c260a0612991e93323e816c121b1968 (diff)
downloadnetctl-8a34d1dee00e9a262928c1a9eda639063762b4f7.tar.gz
netctl-8a34d1dee00e9a262928c1a9eda639063762b4f7.tar.xz
connections/ethernet: report_{debug,iproute} fixes
* fix report_debug filename * unecessary return after report_iproute * add another report_debug Signed-off-by: Jim Pryor <profjim@jimpryor.net>
Diffstat (limited to 'src/connections')
-rw-r--r--src/connections/ethernet4
1 files changed, 2 insertions, 2 deletions
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