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 treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
02_sysinfo treewide: populate boardname and model earlier 2017-07-15 23:13:34 +02:00
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 treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
50_indicate_regular_preinit treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
70_initramfs_test treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
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 treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00