dropbear: use config_get_bool enable
authorSergey Ponomarev <[email protected]>
Mon, 27 May 2024 23:50:09 +0000 (02:50 +0300)
committerPetr Štetiar <[email protected]>
Thu, 28 Nov 2024 18:47:56 +0000 (18:47 +0000)
commit908975850dbc0aa3db25c1045f42ec12e23c06df
treec23ecf22c9a87ec397a9738c7a1b99a79bf1f0f3
parent7142e35777248710635f0152ccee2fba78325395
dropbear: use config_get_bool enable

The config_get_bool also works with on/off, yes/no, true/false.
Add 'main' section name. This will make it easier to change settings from uci.
Add a link to documentation.

Signed-off-by: Sergey Ponomarev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/15579
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 4511fa4b30f73185597990ce563bbf3f96385292)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <[email protected]>
package/network/services/dropbear/Makefile
package/network/services/dropbear/files/dropbear.config
package/network/services/dropbear/files/dropbear.init