home
/
code
/
khatus.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Fix bluetoothctl parser
[khatus.git]
/
bin
/
khatus_sensor_net_wifi_status
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
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.021282 seconds
and
4
git commands to generate.