lede-Heleguo/package/base-files/files/lib/preinit
Matthias Schiffer 75663fdd70 base-files: fix merge of passwd/shadow/group lines with trailing colons
Empty trailing fields get lost when the lines are split and merged again
at colons, resulting in unparsable entries. Only use the split fields for
matching against the other file, but emit the original line unchanged
to fix the issue.

Fixes: de7ca7dafadf ("base-files: merge /etc/passwd et al at sysupgrade config restore")
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2024-10-17 15:03:52 +08:00
..
02_default_set_state
02_sysinfo
10_indicate_failsafe
10_indicate_preinit
30_failsafe_wait
40_run_failsafe_hook
50_indicate_regular_preinit
70_initramfs_test
80_mount_root base-files: fix merge of passwd/shadow/group lines with trailing colons 2024-10-17 15:03:52 +08:00
99_10_failsafe_login
99_10_run_init