diff options
author | Thomas Haller <thaller@redhat.com> | 2019-07-01 10:01:28 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-07-10 12:43:06 +0200 |
commit | b1297b8b8abd2fd0ad25ccc3c77a91d71e2021c9 (patch) | |
tree | 88cd92c5c28443c0cc32376f21c552d8686521a3 /clients/common/nm-meta-setting-desc.c | |
parent | dd5acc0370b60c1e4ae4ea2edad112c5cb414202 (diff) | |
download | NetworkManager-b1297b8b8abd2fd0ad25ccc3c77a91d71e2021c9.tar.gz |
libnm,cli,ifcfg-rh: add connection:wait-device-timeout property
Initscripts already honor the DEVTIMEOUT variable (rh #1171917).
Don't make this a property only supported by initscripts. Every
useful property should also be supported by keyfile and it should
be accessible via D-Bus.
Also, I will soon drop NMSIfcfgConnection, so handling this would
require extra code. It's easier when DEVTIMEOUT is a regular property of
the connection profile.
The property is not yet implemented. ifcfg-rh still uses the old
implementation, and keyfile is not yet adjusted. Since both keyfile
and ifcfg-rh will both be rewritten soon, this property will be
implemented then.
Diffstat (limited to 'clients/common/nm-meta-setting-desc.c')
-rw-r--r-- | clients/common/nm-meta-setting-desc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clients/common/nm-meta-setting-desc.c b/clients/common/nm-meta-setting-desc.c index 1422d4d24e..2ff994d068 100644 --- a/clients/common/nm-meta-setting-desc.c +++ b/clients/common/nm-meta-setting-desc.c @@ -5186,6 +5186,9 @@ static const NMMetaPropertyInfo *const property_infos_CONNECTION[] = { ), ), ), + PROPERTY_INFO_WITH_DESC (NM_SETTING_CONNECTION_WAIT_DEVICE_TIMEOUT, + .property_type = &_pt_gobject_int, + ), NULL }; |