aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xstatus5
1 files changed, 4 insertions, 1 deletions
diff --git a/status b/status
index 0f45a96..7a2825f 100755
--- a/status
+++ b/status
@@ -21,7 +21,10 @@ else
21fi 21fi
22 22
23#network=$(nmcli device status | head -n 2 | tail -n 1 | awk '{print "Network: " $4}') 23#network=$(nmcli device status | head -n 2 | tail -n 1 | awk '{print "Network: " $4}')
24network="Network: $(nmcli device status | head -n 2 | tail -n 1 | sed 's/.* //')" 24# NetworkManager has a dreadful command line interface
25# It makes cry every time
26# pls help
27network="Network: $(nmcli device status | head -n 2 | tail -n 1 | sed 's/ *$//' | sed 's/.* //')"
25 28
26events=$(sdep-list past | wc -l) 29events=$(sdep-list past | wc -l)
27 30

Generated with cgit - Back to sebastiano.tronto.net