installer/dfuibe_installer: Clean up fn_root_passwd()
authorAaron LI <aly@aaronly.me>
Fri, 8 May 2020 14:54:39 +0000 (22:54 +0800)
committerAaron LI <aly@aaronly.me>
Mon, 11 May 2020 14:38:59 +0000 (22:38 +0800)
commitf0557178fb97e1a891ad49667414d4bbda87c574
tree9a16b97205f98f05b01263ab944cccb679275ab7
parentdade4a2e4397374d8552d5e9ef730dc8671de884
installer/dfuibe_installer: Clean up fn_root_passwd()

Improve the logic of fn_root_passwd() by referring to fn_add_user().
usr.sbin/installer/dfuibe_installer/fn_configure.c