mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
dropbear: read configuration from /etc/default/dropbear
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. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
d26edf9dbb
commit
a32c030a6d
@@ -4,6 +4,7 @@ Requires=dropbearkey.service
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user