X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/23d76c341a3d89175e6c1014fb07b719813e5d67..b338f05ee4ea7a93400472733e4f5141b5e42cc5:/package/dropbear/files/dropbear.init?ds=inline

diff --git a/package/dropbear/files/dropbear.init b/package/dropbear/files/dropbear.init
index 58b0bc2fa..f671df787 100755
--- a/package/dropbear/files/dropbear.init
+++ b/package/dropbear/files/dropbear.init
@@ -1,5 +1,6 @@
 #!/bin/sh /etc/rc.common
 # Copyright (C) 2006 OpenWrt.org
+START=50
 # Copyright (C) 2006 Carlos Sobrinho
 
 config_cb() {
@@ -16,7 +17,7 @@ config_cb() {
 			case "$passauth" in
 				no|off|disabled|0) nopasswd=1;;
 			esac
-			DROPBEAR_ARGS="${port:+-p $port} ${nopasswd:+-s}"
+			DROPBEAR_ARGS="${nopasswd:+-s }${port:+-p $port}"
 		;;
 	esac
 }