dropbear: use config_get_bool enable
authorSergey Ponomarev <stokito@gmail.com>
Mon, 27 May 2024 23:50:09 +0000 (02:50 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 17 Nov 2024 15:41:48 +0000 (16:41 +0100)
commit4511fa4b30f73185597990ce563bbf3f96385292
tree67ff7e73d6cc790fdabfab11d8fc24d009fb5106
parent98f26346cbbb45e5c0417f57846ce1783e884ea2
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 <stokito@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15579
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/network/services/dropbear/Makefile
package/network/services/dropbear/files/dropbear.config
package/network/services/dropbear/files/dropbear.init