Revert "Simplify IPC - no need to name the pipe"
[khatus.git] / bin / khatus_sensor_net_wifi_status
CommitLineData
f37162a4
SK
1#! /bin/sh
2
3set -e
4
5nmcli \
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.024986 seconds and 4 git commands to generate.