summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-06-02 14:32:30 +0200
committerThomas Haller <thaller@redhat.com>2019-06-11 10:08:07 +0200
commit3c47285f4a8df1c7d3648e03bf7f3b6626ccf15a (patch)
treeafd1ce28bc5d0d0ae0383381bee07cd2e6678dcb /examples
parentc0e075c90263150bd00ea033dbbd2d8e6b05300e (diff)
downloadNetworkManager-3c47285f4a8df1c7d3648e03bf7f3b6626ccf15a.tar.gz
all: drop vim file variables from source files
sed '1,3 { /^\(#\|--\) *vim:/d }; 1 { /^\/\* *vim:.*\*\/$/ d}' -i $(git grep -l 'vim:')
Diffstat (limited to 'examples')
-rw-r--r--examples/C/qt/monitor-nm-running.cpp1
-rwxr-xr-xexamples/lua/lgi/add-connection.lua1
-rwxr-xr-xexamples/lua/lgi/change-vpn-username.lua1
-rwxr-xr-xexamples/lua/lgi/deactivate-all.lua1
-rwxr-xr-xexamples/lua/lgi/get-basic-nm-info.lua1
-rwxr-xr-xexamples/lua/lgi/get-ips.lua1
-rwxr-xr-xexamples/lua/lgi/list-connections.lua1
-rwxr-xr-xexamples/lua/lgi/list-devices.lua1
-rwxr-xr-xexamples/lua/lgi/show-wifi-networks.lua1
-rwxr-xr-xexamples/python/gi/add_connection.py1
-rwxr-xr-xexamples/python/gi/checkpoint.py1
-rwxr-xr-xexamples/python/gi/deactivate-all.py1
-rwxr-xr-xexamples/python/gi/device-state-ip4config.py1
-rwxr-xr-xexamples/python/gi/dns.py1
-rwxr-xr-xexamples/python/gi/firewall-zone.py1
-rwxr-xr-xexamples/python/gi/get-active-connections.py1
-rwxr-xr-xexamples/python/gi/get-devices.py1
-rwxr-xr-xexamples/python/gi/get-lldp-neighbors.py1
-rwxr-xr-xexamples/python/gi/get_ips.py1
-rwxr-xr-xexamples/python/gi/list-connections.py1
-rwxr-xr-xexamples/python/gi/nm-connection-update-stable-id.py1
-rwxr-xr-xexamples/python/gi/setting-user-data.py1
-rwxr-xr-xexamples/python/gi/show-wifi-networks.py1
-rwxr-xr-xexamples/python/gi/update-ip4-method.py1
-rwxr-xr-xexamples/python/gi/vpn-import.py1
-rwxr-xr-xexamples/ruby/add-connection.rb1
-rwxr-xr-xexamples/ruby/get-basic-nm-info.rb1
-rwxr-xr-xexamples/ruby/list-devices.rb1
-rwxr-xr-xexamples/shell/active-wifi.sh1
-rwxr-xr-xexamples/shell/disconnect-device.sh1
-rwxr-xr-xexamples/shell/get-hostname.sh1
-rwxr-xr-xexamples/shell/list-devices.sh1
-rwxr-xr-xexamples/shell/nm-logging.sh1
33 files changed, 0 insertions, 33 deletions
diff --git a/examples/C/qt/monitor-nm-running.cpp b/examples/C/qt/monitor-nm-running.cpp
index f233d0cd07..2d3180315e 100644
--- a/examples/C/qt/monitor-nm-running.cpp
+++ b/examples/C/qt/monitor-nm-running.cpp
@@ -1,4 +1,3 @@
-/* vim: set ft=c ts=4 sts=4 sw=4 expandtab smartindent: */
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/examples/lua/lgi/add-connection.lua b/examples/lua/lgi/add-connection.lua
index 311a167870..efccfddffc 100755
--- a/examples/lua/lgi/add-connection.lua
+++ b/examples/lua/lgi/add-connection.lua
@@ -1,5 +1,4 @@
#!/usr/bin/env lua
--- vim: ft=lua ts=2 sts=2 sw=2 et ai
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
diff --git a/examples/lua/lgi/change-vpn-username.lua b/examples/lua/lgi/change-vpn-username.lua
index fc56307efb..1e6c94bb42 100755
--- a/examples/lua/lgi/change-vpn-username.lua
+++ b/examples/lua/lgi/change-vpn-username.lua
@@ -1,5 +1,4 @@
#!/usr/bin/env lua
--- vim: ft=lua ts=2 sts=2 sw=2 et ai
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
diff --git a/examples/lua/lgi/deactivate-all.lua b/examples/lua/lgi/deactivate-all.lua
index dc06b74a78..b4db8add4e 100755
--- a/examples/lua/lgi/deactivate-all.lua
+++ b/examples/lua/lgi/deactivate-all.lua
@@ -1,5 +1,4 @@
#!/usr/bin/env lua
--- vim: ft=lua ts=2 sts=2 sw=2 et ai
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
diff --git a/examples/lua/lgi/get-basic-nm-info.lua b/examples/lua/lgi/get-basic-nm-info.lua
index ab4f1dadb6..6ff0be5493 100755
--- a/examples/lua/lgi/get-basic-nm-info.lua
+++ b/examples/lua/lgi/get-basic-nm-info.lua
@@ -1,5 +1,4 @@
#!/usr/bin/env lua
--- vim: ft=lua ts=2 sts=2 sw=2 et ai
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
diff --git a/examples/lua/lgi/get-ips.lua b/examples/lua/lgi/get-ips.lua
index 87309fbe0b..0f67c807d9 100755
--- a/examples/lua/lgi/get-ips.lua
+++ b/examples/lua/lgi/get-ips.lua
@@ -1,5 +1,4 @@
#!/usr/bin/env lua
--- vim: ft=lua ts=2 sts=2 sw=2 et ai
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
diff --git a/examples/lua/lgi/list-connections.lua b/examples/lua/lgi/list-connections.lua
index c7286d2e2c..6c1d0cb0e1 100755
--- a/examples/lua/lgi/list-connections.lua
+++ b/examples/lua/lgi/list-connections.lua
@@ -1,5 +1,4 @@
#!/usr/bin/env lua
--- vim: ft=lua ts=2 sts=2 sw=2 et ai
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
diff --git a/examples/lua/lgi/list-devices.lua b/examples/lua/lgi/list-devices.lua
index 84591882ee..57ed54e68b 100755
--- a/examples/lua/lgi/list-devices.lua
+++ b/examples/lua/lgi/list-devices.lua
@@ -1,5 +1,4 @@
#!/usr/bin/env lua
--- vim: ft=lua ts=2 sts=2 sw=2 et ai
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
diff --git a/examples/lua/lgi/show-wifi-networks.lua b/examples/lua/lgi/show-wifi-networks.lua
index 9ba57d0fee..7bffada215 100755
--- a/examples/lua/lgi/show-wifi-networks.lua
+++ b/examples/lua/lgi/show-wifi-networks.lua
@@ -1,5 +1,4 @@
#!/usr/bin/env lua
--- vim: ft=lua ts=2 sts=2 sw=2 et ai
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
diff --git a/examples/python/gi/add_connection.py b/examples/python/gi/add_connection.py
index 0025e11da3..3b0abef1db 100755
--- a/examples/python/gi/add_connection.py
+++ b/examples/python/gi/add_connection.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python
-# vim: ft=python ts=4 sts=4 sw=4 et ai
#
# This program is free software; you can redistribute it and/or modify
diff --git a/examples/python/gi/checkpoint.py b/examples/python/gi/checkpoint.py
index 3c060a1b82..032178145f 100755
--- a/examples/python/gi/checkpoint.py
+++ b/examples/python/gi/checkpoint.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python
-# vim: ft=python ts=4 sts=4 sw=4 et ai
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/python/gi/deactivate-all.py b/examples/python/gi/deactivate-all.py
index d8354694a8..7a9b2ce193 100755
--- a/examples/python/gi/deactivate-all.py
+++ b/examples/python/gi/deactivate-all.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python
-# vim: ft=python ts=4 sts=4 sw=4 et ai
#
# This program is free software; you can redistribute it and/or modify
diff --git a/examples/python/gi/device-state-ip4config.py b/examples/python/gi/device-state-ip4config.py
index 1dd620abb8..70ab8871d8 100755
--- a/examples/python/gi/device-state-ip4config.py
+++ b/examples/python/gi/device-state-ip4config.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python
#
-# vim: ft=python ts=4 sts=4 sw=4 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/python/gi/dns.py b/examples/python/gi/dns.py
index ab82dad69c..bfa58ff9da 100755
--- a/examples/python/gi/dns.py
+++ b/examples/python/gi/dns.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python
#
-# vim: ft=python ts=4 sts=4 sw=4 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/python/gi/firewall-zone.py b/examples/python/gi/firewall-zone.py
index 4a48ffad81..6be18dd96c 100755
--- a/examples/python/gi/firewall-zone.py
+++ b/examples/python/gi/firewall-zone.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python
-# vim: ft=python ts=4 sts=4 sw=4 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/python/gi/get-active-connections.py b/examples/python/gi/get-active-connections.py
index 8c62ff4048..d7d3566318 100755
--- a/examples/python/gi/get-active-connections.py
+++ b/examples/python/gi/get-active-connections.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python
-# vim: ft=python ts=4 sts=4 sw=4 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/python/gi/get-devices.py b/examples/python/gi/get-devices.py
index 3c5539f5d4..cfa22f17a2 100755
--- a/examples/python/gi/get-devices.py
+++ b/examples/python/gi/get-devices.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python
-# vim: ft=python ts=4 sts=4 sw=4 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/python/gi/get-lldp-neighbors.py b/examples/python/gi/get-lldp-neighbors.py
index efef435bb3..f70302345d 100755
--- a/examples/python/gi/get-lldp-neighbors.py
+++ b/examples/python/gi/get-lldp-neighbors.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python
#
-# vim: ft=python ts=4 sts=4 sw=4 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/python/gi/get_ips.py b/examples/python/gi/get_ips.py
index bb1a6d22be..48bbac6d87 100755
--- a/examples/python/gi/get_ips.py
+++ b/examples/python/gi/get_ips.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python
#
-# vim: ft=python ts=4 sts=4 sw=4 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/python/gi/list-connections.py b/examples/python/gi/list-connections.py
index 300d79eaeb..4cd15febc4 100755
--- a/examples/python/gi/list-connections.py
+++ b/examples/python/gi/list-connections.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python
-# vim: ft=python ts=4 sts=4 sw=4 et ai
#
# This program is free software; you can redistribute it and/or modify
diff --git a/examples/python/gi/nm-connection-update-stable-id.py b/examples/python/gi/nm-connection-update-stable-id.py
index 21658a051e..bd4f12b612 100755
--- a/examples/python/gi/nm-connection-update-stable-id.py
+++ b/examples/python/gi/nm-connection-update-stable-id.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python
-# vim: ft=python ts=4 sts=4 sw=4 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/python/gi/setting-user-data.py b/examples/python/gi/setting-user-data.py
index 66495fa190..d5e0010591 100755
--- a/examples/python/gi/setting-user-data.py
+++ b/examples/python/gi/setting-user-data.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python
-# vim: ft=python ts=4 sts=4 sw=4 et ai
#
# This program is free software; you can redistribute it and/or modify
diff --git a/examples/python/gi/show-wifi-networks.py b/examples/python/gi/show-wifi-networks.py
index 80dbedce9b..6eb6ac91bd 100755
--- a/examples/python/gi/show-wifi-networks.py
+++ b/examples/python/gi/show-wifi-networks.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python
# coding=utf-8
-# vim: ft=python ts=4 sts=4 sw=4 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/python/gi/update-ip4-method.py b/examples/python/gi/update-ip4-method.py
index 5249d712bc..e4c603fbcf 100755
--- a/examples/python/gi/update-ip4-method.py
+++ b/examples/python/gi/update-ip4-method.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python
-# vim: ft=python ts=4 sts=4 sw=4 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/python/gi/vpn-import.py b/examples/python/gi/vpn-import.py
index 512775e6e0..3753c5dac8 100755
--- a/examples/python/gi/vpn-import.py
+++ b/examples/python/gi/vpn-import.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python
-# vim: ft=python ts=4 sts=4 sw=4 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/ruby/add-connection.rb b/examples/ruby/add-connection.rb
index 39a6284b32..bd9b4ed786 100755
--- a/examples/ruby/add-connection.rb
+++ b/examples/ruby/add-connection.rb
@@ -1,5 +1,4 @@
#!/usr/bin/env ruby
-# vim: ft=ruby ts=2 sts=2 sw=2 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/ruby/get-basic-nm-info.rb b/examples/ruby/get-basic-nm-info.rb
index 144ecbcbf7..d55254296f 100755
--- a/examples/ruby/get-basic-nm-info.rb
+++ b/examples/ruby/get-basic-nm-info.rb
@@ -1,5 +1,4 @@
#!/usr/bin/env ruby
-# vim: ft=ruby ts=2 sts=2 sw=2 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/ruby/list-devices.rb b/examples/ruby/list-devices.rb
index e35fcdfd08..690d3e5f98 100755
--- a/examples/ruby/list-devices.rb
+++ b/examples/ruby/list-devices.rb
@@ -1,5 +1,4 @@
#!/usr/bin/env ruby
-# vim: ft=ruby ts=2 sts=2 sw=2 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/shell/active-wifi.sh b/examples/shell/active-wifi.sh
index 958ca47b2c..0f550fedf8 100755
--- a/examples/shell/active-wifi.sh
+++ b/examples/shell/active-wifi.sh
@@ -1,5 +1,4 @@
#!/bin/sh
-# vim: ft=sh ts=2 sts=2 sw=2 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/shell/disconnect-device.sh b/examples/shell/disconnect-device.sh
index 75bed634b3..edfb9d1782 100755
--- a/examples/shell/disconnect-device.sh
+++ b/examples/shell/disconnect-device.sh
@@ -1,5 +1,4 @@
#!/bin/sh
-# vim: ft=sh ts=2 sts=2 sw=2 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/shell/get-hostname.sh b/examples/shell/get-hostname.sh
index 3c05e48a79..5009120bac 100755
--- a/examples/shell/get-hostname.sh
+++ b/examples/shell/get-hostname.sh
@@ -1,5 +1,4 @@
#!/bin/sh
-# vim: ft=sh ts=2 sts=2 sw=2 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/shell/list-devices.sh b/examples/shell/list-devices.sh
index c248428012..ee694215a5 100755
--- a/examples/shell/list-devices.sh
+++ b/examples/shell/list-devices.sh
@@ -1,5 +1,4 @@
#!/bin/sh
-# vim: ft=sh ts=2 sts=2 sw=2 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/shell/nm-logging.sh b/examples/shell/nm-logging.sh
index e14843554c..ab4c491725 100755
--- a/examples/shell/nm-logging.sh
+++ b/examples/shell/nm-logging.sh
@@ -1,5 +1,4 @@
#!/bin/sh
-# vim: ft=sh ts=2 sts=2 sw=2 et ai
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by