mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 04:57:55 +00:00
Do not sort config options, just cat to preserve precedence
If we sort | uniq config options, then the lowest in the sort will get precedence, when what we want is for user preferences to override system ones.
This commit is contained in:
parent
64484206ed
commit
8b8be510a2
@ -233,5 +233,5 @@ replace_config() {
|
|||||||
mv ${CONFIG_FILE}.tmp ${CONFIG_FILE}
|
mv ${CONFIG_FILE}.tmp ${CONFIG_FILE}
|
||||||
}
|
}
|
||||||
combine_configs() {
|
combine_configs() {
|
||||||
sort /etc/config* | uniq > /tmp/config
|
cat /etc/config* > /tmp/config
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user