diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-29 16:59:33 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-29 16:59:33 +0000 |
commit | dd5a12c5a10953000a3b29e9801b429523d8ae65 (patch) | |
tree | ad8e6363ae9d87f202fcb2e5bbc1aec2dc5168c6 /package/network/services/dropbear/files/dropbear.init | |
parent | ad52658be722f2024dd645a1a7228209e8bf7c23 (diff) | |
download | master-31e0f0ae-dd5a12c5a10953000a3b29e9801b429523d8ae65.tar.gz master-31e0f0ae-dd5a12c5a10953000a3b29e9801b429523d8ae65.tar.bz2 master-31e0f0ae-dd5a12c5a10953000a3b29e9801b429523d8ae65.zip |
dropbear: fix interface config setting
Patch from #15070
SVN-Revision: 40298
Diffstat (limited to 'package/network/services/dropbear/files/dropbear.init')
-rwxr-xr-x | package/network/services/dropbear/files/dropbear.init | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |