mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
ukify: swap the ordering of config search paths
Let's follow our usual ordering.
Follow-up for a05fa30f88
.
This commit is contained in:
parent
8b2f2a568d
commit
c6aadfdd32
@ -167,7 +167,7 @@
|
||||
|
||||
<para>If no config file is provided via the option <option>--config=<replaceable>PATH</replaceable></option>,
|
||||
<command>ukify</command> will try to look for a default configuration file in the following paths in this
|
||||
order: <filename>/run/systemd/ukify.conf</filename>, <filename>/etc/systemd/ukify.conf</filename>,
|
||||
order: <filename>/etc/systemd/ukify.conf</filename>, <filename>/run/systemd/ukify.conf</filename>,
|
||||
<filename>/usr/local/lib/systemd/ukify.conf</filename>, and <filename>/usr/lib/systemd/ukify.conf</filename>,
|
||||
and then load the first one found. <command>ukify</command> will proceed normally if no configuration file
|
||||
is specified and no default one is found.</para>
|
||||
|
@ -68,7 +68,7 @@ EFI_ARCHES: list[str] = sum(EFI_ARCH_MAP.values(), [])
|
||||
|
||||
# Default configuration directories and file name.
|
||||
# When the user does not specify one, the directories are searched in this order and the first file found is used.
|
||||
DEFAULT_CONFIG_DIRS = ['/run/systemd', '/etc/systemd', '/usr/local/lib/systemd', '/usr/lib/systemd']
|
||||
DEFAULT_CONFIG_DIRS = ['/etc/systemd', '/run/systemd', '/usr/local/lib/systemd', '/usr/lib/systemd']
|
||||
DEFAULT_CONFIG_FILE = 'ukify.conf'
|
||||
|
||||
class Style:
|
||||
|
Loading…
Reference in New Issue
Block a user