projects
/
dell-switch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02cb547
)
extract wap names from munin
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 10 Jul 2018 09:37:34 +0000
(11:37 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 10 Jul 2018 09:37:34 +0000
(11:37 +0200)
wap-names
[new file with mode: 0755]
patch
|
blob
diff --git a/wap-names
b/wap-names
new file mode 100755
(executable)
index 0000000..
666ec63
--- /dev/null
+++ b/
wap-names
@@ -0,0
+1,6
@@
+#!/bin/sh
+
+# we are extracting switch names from munin config
+
+grep '^\[wifi.ffzg;wap' /etc/munin/munin.conf | cut -d';' -f2 | sed 's/\]$//'
+