base-files: set root password if present inside board.json
authorJohn Crispin <john@phrozen.org>
Sat, 21 Sep 2024 15:53:24 +0000 (17:53 +0200)
committerJohn Crispin <john@phrozen.org>
Wed, 2 Oct 2024 13:41:33 +0000 (15:41 +0200)
commit859bb4dd3fe88ffe6b461559a39e3cc1e0547892
tree9a47aa3a5a89c596f92e0c75639eb37bbf34c89b
parent5071e842b99b1fe96f7364693eeb4850a4878e51
base-files: set root password if present inside board.json

Add code to set plain password or put the hash into /etc/shadow.

Signed-off-by: John Crispin <john@phrozen.org>
package/base-files/files/etc/uci-defaults/50-root-passwd [new file with mode: 0644]