summaryrefslogtreecommitdiffstats
path: root/.local/bin/status/sb-net
blob: 2cc07da33df5581d13101389ce164014c84e95d3 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# if ifconfig | grep -F ' active' >/dev/null; then
if ! ping -q -c1 -t1 8.8.8.8 >/dev/null 2>&1; then
	echo " "
	return
fi

echo " "