-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Signed-off-by: Matthias Bücher <[email protected]>
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkqEPHUACgkQUXXT+9wZdbWEIgCgyAFyKQm4DWJ/2yeNSE9m0YkE
tv8An0bBR1MqEMPFwdYowNHI/uWKYIwY
=JLBZ
-----END PGP SIGNATURE-----
Index: package/dropbear/files/dropbear.init
===================================================================
--- package/dropbear/files/dropbear.init (revision 17244)
+++ package/dropbear/files/dropbear.init (working copy)
@@ -37,7 +37,7 @@
# concatenate parameters
local args
- args="${nopasswd:+-s }${port:+-p ${port}} -P /var/run/${NAME}.${PIDCOUNT}.pid"
+ args="${nopasswd:+-s }${port:+-p ${port} }-P /var/run/${NAME}.${PIDCOUNT}.pid"
# execute program and return its exit code
[ "${verbosed}" -ne 0 ] && echo "${initscript}: section ${section} starting ${PROG} ${args}"
@@ -104,7 +104,7 @@
[ "${pid}" -eq 0 ] && break
# check if client connection
- ps | grep -e "^[ ]*${pid} " | grep "${PROG}" >/dev/null
+ ps | grep -e "^[ ]*${pid} " | grep -e "${PROG}" >/dev/null
if [ $? -eq 0 ]
then
append ignore "${pid}"
@@ -123,7 +123,7 @@
for pid in `pidof "${NAME}"`
do
# check if correct program
- ps | grep -e "^[ ]*${pid} " | grep "${PROG}" >/dev/null
+ ps | grep -e "^[ ]*${pid} " | grep -e "${PROG}" >/dev/null
[ $? -ne 0 ] && continue
# check if pid should be ignored (servers, ourself)
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEABECAAYFAkqEPHUACgkQUXXT+9wZdbWrowCgygvW4QsSCsNdWp8CCNmZeAcO
e28An2Co7kqXK3d7Y8bK+k6tCFhYiaAV
=8dXw
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel