From 3359368f287f6bfd8205d2e3505f6ec180c4f730 Mon Sep 17 00:00:00 2001 From: Mario Sanchez Prada Date: Wed, 20 Jul 2016 16:48:08 +0100 Subject: man: Added documentation for the connectivity-change dispatcher hook Also added documentation for the new CONNECTIVITY_STATE environment variable, that will also be avaiblable in those hooks. https://bugzilla.gnome.org/show_bug.cgi?id=768969 --- man/NetworkManager.xml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/NetworkManager.xml b/man/NetworkManager.xml index deedf1b8cb..2cb458a29f 100644 --- a/man/NetworkManager.xml +++ b/man/NetworkManager.xml @@ -79,7 +79,8 @@ device an operation just happened on, and second the action. For device actions, the interface is the name of the kernel interface suitable for IP configuration. Thus it is either VPN_IP_IFACE, DEVICE_IP_IFACE, or DEVICE_IFACE, as applicable. - For the hostname action it is always "none". + For the hostname and connectivity-change + actions it is always "none". The actions are: @@ -168,6 +169,12 @@ The DHCPv6 lease has changed (renewed, rebound, etc). + + connectivity-change + + The network connectivity state has changed (no connectivity, went online, etc). + + The environment contains more information about the interface and the connection. @@ -281,6 +288,15 @@ and DHCP6_ instead. + + CONNECTIVITY_STATE + The network connectivity state, which can + take the values defined by the NMConnectivityState type, + from the org.freedesktop.NetworkManager D-Bus API: unknown, + none, portal, limited or full. Note: this variable will only + be set for connectivity-change actions. + + -- cgit v1.2.1