dropbear: fix interface config setting
authorFelix Fietkau <nbd@openwrt.org>
Sat, 29 Mar 2014 16:59:33 +0000 (16:59 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 29 Mar 2014 16:59:33 +0000 (16:59 +0000)
Patch from #15070

SVN-Revision: 40298

package/network/services/dropbear/files/dropbear.init

index ebef5263908f35c08c5b913a3ecc610ade624354..93dc3d96946535da6f77656446f02fc581cadfd7 100755 (executable)
@@ -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
 }