From: Felix Fietkau Date: Sat, 29 Mar 2014 16:59:33 +0000 (+0000) Subject: dropbear: fix interface config setting X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dd5a12c5a10953000a3b29e9801b429523d8ae65;p=librecmc%2Flibrecmc.git dropbear: fix interface config setting Patch from #15070 SVN-Revision: 40298 --- diff --git a/package/network/services/dropbear/files/dropbear.init b/package/network/services/dropbear/files/dropbear.init index ebef526390..93dc3d9694 100755 --- a/package/network/services/dropbear/files/dropbear.init +++ b/package/network/services/dropbear/files/dropbear.init @@ -72,8 +72,8 @@ dropbear_instance() [ -n "${rsakeyfile}" ] && procd_append_param command -r "${rsakeyfile}" [ -n "${dsskeyfile}" ] && procd_append_param command -d "${dsskeyfile}" [ -n "${BannerFile}" ] && procd_append_param command -b "${BannerFile}" - [ -n "${interface}" ] && network_get_device interface "${interface}" - append_ports "${interface}" "${Port}" + [ -n "${Interface}" ] && network_get_device Interface "${Interface}" + append_ports "${Interface}" "${Port}" procd_close_instance }