home
/
code
/
khatus.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Split workers into dedicated files
[khatus.git]
/
bin
/
khatus_sensor_net_wifi_status
1
#! /bin/sh
2
3
set -e
4
5
nmcli \
6
-f
ACTIVE
,
SSID
,
SIGNAL \
7
-t
\
8
d wifi \
9
|
awk
\
10
-F
':'
\
11
'
12
BEGIN {wifi_status = "--"}
13
$1
== "yes" {wifi_status =
$2
":"
$3
"%"}
14
END {print wifi_status}
15
'
This page took
0.057959 seconds
and
4
git commands to generate.