openwrt/package/base-files/files/lib/preinit
Matthias Schiffer 9bbaa6f2c0
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: de7ca7dafa ("base-files: merge /etc/passwd et al at sysupgrade config restore")
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2024-08-29 21:07:15 +02:00
..
02_default_set_state
02_sysinfo
10_indicate_failsafe failsafe: fix console failsafe shell 2024-08-19 18:55:00 +02:00
10_indicate_preinit base-files: Do not break on non-eth ports 2023-05-09 22:54:38 +02:00
30_failsafe_wait failsafe: fix console failsafe shell 2024-08-19 18:55:00 +02:00
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-08-29 21:07:15 +02:00
99_10_failsafe_login failsafe: fix console failsafe shell 2024-08-19 18:55:00 +02:00
99_10_run_init