dropbear: introduce config option "keyfile" (replacement for "rsakeyfile")
authorKonstantin Demin <rockdrilla@gmail.com>
Mon, 25 Mar 2019 18:42:01 +0000 (21:42 +0300)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 25 Mar 2019 21:25:34 +0000 (22:25 +0100)
commit5d27b10c61171e9974f5db01445acba5181e03b4
tree186ecb8c4610098df827184c42754d310fe31c17
parentefc533cc2ff7ec99595727c4990b1fed006794ea
dropbear: introduce config option "keyfile" (replacement for "rsakeyfile")

* option "keyfile" is more generic than "rsakeyfile".
* option "rsakeyfile" is considered to be deprecated and should be removed
  in future releases.
* warn user (in syslog) if option "rsakeyfile" is used
* better check options ("rsakeyfile" and "keyfile"): don't append
  "-r keyfile" to command line if file is absent (doesn't exist or empty),
  warn user (in syslog) about such files

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
package/network/services/dropbear/files/dropbear.init