diff options
author | Thomas Haller <thaller@redhat.com> | 2019-09-25 13:13:40 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-09-30 18:05:50 +0200 |
commit | f3165395b062d84fd50c31961b0e88468f70275d (patch) | |
tree | fcef873d6560e4330e66c35b7d5c80847a0e800a /examples/lua | |
parent | 450b23d70f1124849ba44b3f72b7efa67084b1c0 (diff) | |
download | NetworkManager-th/cleanup-file-header-comments.tar.gz |
all: manually drop code comments with file descriptionth/cleanup-file-header-comments
Diffstat (limited to 'examples/lua')
-rwxr-xr-x | examples/lua/lgi/add-connection.lua | 3 | ||||
-rwxr-xr-x | examples/lua/lgi/change-vpn-username.lua | 3 | ||||
-rwxr-xr-x | examples/lua/lgi/deactivate-all.lua | 3 | ||||
-rwxr-xr-x | examples/lua/lgi/get-basic-nm-info.lua | 3 | ||||
-rwxr-xr-x | examples/lua/lgi/get-ips.lua | 3 | ||||
-rwxr-xr-x | examples/lua/lgi/list-connections.lua | 3 | ||||
-rwxr-xr-x | examples/lua/lgi/list-devices.lua | 3 | ||||
-rwxr-xr-x | examples/lua/lgi/show-wifi-networks.lua | 3 |
8 files changed, 8 insertions, 16 deletions
diff --git a/examples/lua/lgi/add-connection.lua b/examples/lua/lgi/add-connection.lua index 6e31154c11..f85d47f2e8 100755 --- a/examples/lua/lgi/add-connection.lua +++ b/examples/lua/lgi/add-connection.lua @@ -3,13 +3,12 @@ -- -- Copyright 2015 Red Hat, Inc. -- --- + -- Adding an Ethernet connection to NetworkManager in Lua. -- The example uses libnm library using GObject introspection via Lua lgi module. -- Most distribution ship the module as lua-lgi package. -- libnm guide: https://developer.gnome.org/libnm/1.0/ -- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md --- local lgi = require 'lgi' local GLib = lgi.GLib diff --git a/examples/lua/lgi/change-vpn-username.lua b/examples/lua/lgi/change-vpn-username.lua index 9b2b3490c4..558d11fdf8 100755 --- a/examples/lua/lgi/change-vpn-username.lua +++ b/examples/lua/lgi/change-vpn-username.lua @@ -3,13 +3,12 @@ -- -- Copyright 2015 Red Hat, Inc. -- --- + -- This example changes username in a VPN profile. -- The example uses libnm library using GObject introspection via Lua lgi module. -- Most distribution ship the module as lua-lgi package. -- libnm guide: https://developer.gnome.org/libnm/1.0/ -- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md --- local lgi = require 'lgi' local NM = lgi.NM diff --git a/examples/lua/lgi/deactivate-all.lua b/examples/lua/lgi/deactivate-all.lua index 9a9ac810b1..ea416773ab 100755 --- a/examples/lua/lgi/deactivate-all.lua +++ b/examples/lua/lgi/deactivate-all.lua @@ -3,13 +3,12 @@ -- -- Copyright 2015 Red Hat, Inc. -- --- + -- Deactivate all active connections (of certain type). -- The example uses libnm library using GObject introspection via Lua lgi module. -- Most distribution ship the module as lua-lgi package. -- libnm guide: https://developer.gnome.org/libnm/1.0/ -- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md --- local lgi = require 'lgi' local NM = lgi.NM diff --git a/examples/lua/lgi/get-basic-nm-info.lua b/examples/lua/lgi/get-basic-nm-info.lua index 9d84e1342b..038916f88a 100755 --- a/examples/lua/lgi/get-basic-nm-info.lua +++ b/examples/lua/lgi/get-basic-nm-info.lua @@ -3,13 +3,12 @@ -- -- Copyright 2015 Red Hat, Inc. -- --- + -- This example gets basic information about NetworkManager. -- The example uses libnm library using GObject introspection via Lua lgi module. -- Most distribution ship the module as lua-lgi package. -- libnm guide: https://developer.gnome.org/libnm/1.0/ -- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md --- local lgi = require 'lgi' local NM = lgi.NM diff --git a/examples/lua/lgi/get-ips.lua b/examples/lua/lgi/get-ips.lua index b1861cbec3..e909fe8201 100755 --- a/examples/lua/lgi/get-ips.lua +++ b/examples/lua/lgi/get-ips.lua @@ -3,14 +3,13 @@ -- -- Copyright 2015 Red Hat, Inc. -- --- + -- This example shows how to get addresses, routes and DNS information from -- NMIP4Config and NMIP6Config (got out of NMDevice) -- The example uses libnm library using GObject introspection via Lua lgi module. -- Most distribution ship the module as lua-lgi package. -- libnm guide: https://developer.gnome.org/libnm/1.0/ -- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md --- local lgi = require 'lgi' local NM = lgi.NM diff --git a/examples/lua/lgi/list-connections.lua b/examples/lua/lgi/list-connections.lua index 50dd97ceb8..f22bcef395 100755 --- a/examples/lua/lgi/list-connections.lua +++ b/examples/lua/lgi/list-connections.lua @@ -3,13 +3,12 @@ -- -- Copyright 2015 Red Hat, Inc. -- --- + -- Getting and printing all NetworkManager connection in Lua. -- The example uses libnm library using GObject introspection via Lua lgi module. -- Most distribution ship the module as lua-lgi package. -- libnm guide: https://developer.gnome.org/libnm/1.0/ -- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md --- local lgi = require 'lgi' local GLib = lgi.GLib diff --git a/examples/lua/lgi/list-devices.lua b/examples/lua/lgi/list-devices.lua index a1410b49fc..9f87d3e3be 100755 --- a/examples/lua/lgi/list-devices.lua +++ b/examples/lua/lgi/list-devices.lua @@ -3,13 +3,12 @@ -- -- Copyright 2015 Red Hat, Inc. -- --- + -- Getting basic information about network interfaces known to NetworkManager. -- The example uses libnm library using GObject introspection via Lua lgi module. -- Most distribution ship the module as lua-lgi package. -- libnm guide: https://developer.gnome.org/libnm/1.0/ -- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md --- local lgi = require 'lgi' local GLib = lgi.GLib diff --git a/examples/lua/lgi/show-wifi-networks.lua b/examples/lua/lgi/show-wifi-networks.lua index 6accf3eb38..d1f24a4770 100755 --- a/examples/lua/lgi/show-wifi-networks.lua +++ b/examples/lua/lgi/show-wifi-networks.lua @@ -3,13 +3,12 @@ -- -- Copyright 2015 Red Hat, Inc. -- --- + -- This example lists Wi-Fi access points NetworkManager scanned on Wi-Fi devices. -- The example uses libnm library using GObject introspection via Lua lgi module. -- Most distribution ship the module as lua-lgi package. -- libnm guide: https://developer.gnome.org/libnm/1.0/ -- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md --- local lgi = require 'lgi' local NM = lgi.NM |