mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 09:42:06 +00:00
trivial: don't comment out any daemon.conf keys by default
It's confusing to an end user if some keys are commented but others aren't. The thought process is: 1) All keys are configured with their default value. 2) Commenting out a key should keep the default value. 3) Modifying a key sets a new value.
This commit is contained in:
parent
b1ee46bc2a
commit
d09fb40ae2
@ -60,11 +60,16 @@ TrustedUids=
|
||||
# config level. e.g. `vendor-factory-2021q1`
|
||||
HostBkc=
|
||||
|
||||
# The EFI system partition (ESP) path used if UDisks is not available
|
||||
# or if this partition is not mounted at /boot/efi, /boot, or /efi
|
||||
#EspLocation=
|
||||
# Override the location used for the EFI system partition (ESP) path.
|
||||
# This is typically used if UDisks is not available, or was not able to
|
||||
# automatically identify the location for any reason.
|
||||
EspLocation=
|
||||
|
||||
# these are only required when the SMBIOS or Device Tree data is invalid or missing
|
||||
# Override values for SMBIOS / Device Tree data on a system.
|
||||
# These are only required when the SMBIOS or Device Tree data is invalid,
|
||||
# missing, or to simulate running on another system.
|
||||
# * Uncomment them to populate blank entries
|
||||
# * Uncomment them and add values to populate specific entries
|
||||
#Manufacturer=
|
||||
#ProductName=
|
||||
#ProductSku=
|
||||
|
@ -192,7 +192,7 @@ fu_config_reload(FuConfig *self, GError **error)
|
||||
}
|
||||
|
||||
/* get idle timeout */
|
||||
idle_timeout = g_key_file_get_int64(keyfile, "fwupd", "IdleTimeout", &error_timeout);
|
||||
idle_timeout = g_key_file_get_uint64(keyfile, "fwupd", "IdleTimeout", &error_timeout);
|
||||
if (idle_timeout > 0)
|
||||
self->idle_timeout = idle_timeout;
|
||||
else if (error_timeout != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user