Patch allows to specify additional parameters (e.g. '-B') by reading
/etc/default/dropbear as a systemd environment file. It applies
$DROPBEAR_EXTRA_ARGS which used already by the oe-core sysv initscript.
(From meta-openembedded rev:
a32c030a6d3d1768a73f87c74f6e6558f0579ec0)
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
After=syslog.target dropbearkey.service
[Service]
-ExecStart=-/usr/sbin/dropbear -i -r /etc/dropbear/dropbear_rsa_host_key -p 22
+EnvironmentFile=-/etc/default/dropbear
+ExecStart=-/usr/sbin/dropbear -i -r /etc/dropbear/dropbear_rsa_host_key -p 22 $DROPBEAR_EXTRA_ARGS
ExecReload=/bin/kill -HUP $MAINPID
StandardInput=socket