From a4d4fa04b5121e11fbf9d453cc396bbc307f2075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Wed, 19 Nov 2014 09:42:22 +0100 Subject: [PATCH] libnm-core: document AUTOCONNECT_PRIORITY for ifcfg-rh --- libnm-core/nm-setting-connection.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libnm-core/nm-setting-connection.c b/libnm-core/nm-setting-connection.c index f5fb5b4598..0624c61f2f 100644 --- a/libnm-core/nm-setting-connection.c +++ b/libnm-core/nm-setting-connection.c @@ -1391,6 +1391,16 @@ nm_setting_connection_class_init (NMSettingConnectionClass *setting_class) * connections with higher priority will be preferred. Defaults to 0. * The higher number means higher priority. **/ + /* ---ifcfg-rh--- + * property: autoconnect-priority + * variable: AUTOCONNECT_PRIORITY(+) + * values: -999 to 999 + * default: 0 + * description: Connection priority for automatic activation. Connections with + * higher numbers are preferred when selecting profiles for automatic activation. + * example: AUTOCONNECT_PRIORITY=20 + * ---end--- + */ g_object_class_install_property (object_class, PROP_AUTOCONNECT_PRIORITY, g_param_spec_int (NM_SETTING_CONNECTION_AUTOCONNECT_PRIORITY, "", "",