From d7522444d25d5211a96073983b25f6a6e8992c3b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 26 May 2012 20:36:49 +0000 Subject: [PATCH] netifd: fix "Command failed: Not found" error with dhcp SVN-Revision: 31863 --- package/netifd/files/lib/netifd/proto/dhcp.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/netifd/files/lib/netifd/proto/dhcp.sh b/package/netifd/files/lib/netifd/proto/dhcp.sh index eab14627f6..4bdb3a7d06 100755 --- a/package/netifd/files/lib/netifd/proto/dhcp.sh +++ b/package/netifd/files/lib/netifd/proto/dhcp.sh @@ -40,7 +40,8 @@ proto_dhcp_setup() { } proto_dhcp_teardown() { - proto_kill_command + local interface="$1" + proto_kill_command "$interface" } add_protocol dhcp -- 2.25.1