fastd grep script
parent
2874a4583e
commit
f8dbb9f988
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for file in /run/ff*.socket
|
||||||
|
do
|
||||||
|
echo $file
|
||||||
|
nc -U $file | jq -r '.peers | keys[] as $k | "\(.[$k] | .connection.mac_addresses[]) \(.[$k] | .address) \($k)"' | grep $1
|
||||||
|
done
|
Loading…
Reference in New Issue