base-files: uci-defaults: allow setting default credentials and ssh keys
authorJohn Crispin <john@phrozen.org>
Sat, 14 Sep 2024 06:44:19 +0000 (08:44 +0200)
committerJohn Crispin <john@phrozen.org>
Wed, 2 Oct 2024 13:41:33 +0000 (15:41 +0200)
commita8271b0f82657e7ead2acb519bb09d5d6e2c6ee6
tree5658f7714c5c296c55e3414e239c2f918b8f4382
parentb9eadcf318f55215fbbac62e05b17ea7223eb6f8
base-files: uci-defaults: allow setting default credentials and ssh keys

Introduce new uci-default functions:
     - ucidef_set_root_password_hash [hash]
     - ucidef_set_root_password_plain [plaintext]
     - ucidef_set_ssh_authorized_key [ssh key]

Signed-off-by: John Crispin <john@phrozen.org>
package/base-files/files/lib/functions/uci-defaults.sh