mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-08 12:49:24 +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`
|
# config level. e.g. `vendor-factory-2021q1`
|
||||||
HostBkc=
|
HostBkc=
|
||||||
|
|
||||||
# The EFI system partition (ESP) path used if UDisks is not available
|
# Override the location used for the EFI system partition (ESP) path.
|
||||||
# or if this partition is not mounted at /boot/efi, /boot, or /efi
|
# This is typically used if UDisks is not available, or was not able to
|
||||||
#EspLocation=
|
# 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=
|
#Manufacturer=
|
||||||
#ProductName=
|
#ProductName=
|
||||||
#ProductSku=
|
#ProductSku=
|
||||||
|
@ -192,7 +192,7 @@ fu_config_reload(FuConfig *self, GError **error)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* get idle timeout */
|
/* 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)
|
if (idle_timeout > 0)
|
||||||
self->idle_timeout = idle_timeout;
|
self->idle_timeout = idle_timeout;
|
||||||
else if (error_timeout != NULL)
|
else if (error_timeout != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user