dropbear: Name pid file by uci section name
authorAndreas Gnau <andreas.gnau@iopsys.eu>
Tue, 28 Feb 2023 11:24:57 +0000 (16:54 +0530)
committerJohn Crispin <john@phrozen.org>
Thu, 12 Dec 2024 19:02:38 +0000 (20:02 +0100)
commita2f0cd35ac1d15e69f4897b35c049e175dd06825
treeada461bfb717c4df7eb7a5eac4ea747566195e71
parent3bd2cee9bf85f01732e05e0c8fb070fb18c74095
dropbear: Name pid file by uci section name

Name the pidfile of each dropbear instance according to the
corresponding uci section name. This enables a 1:1 mapping between the
definition of the service instance and its process.

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Link: https://github.com/openwrt/openwrt/pull/15177
Signed-off-by: John Crispin <john@phrozen.org>
package/network/services/dropbear/files/dropbear.init