Gitiles
Code Review
Sign In
192.168.1.100
/
T108
/
e958203796650e3959a43708d67534bf36f4c83b
/
.
/
external
/
subpack
/
net
/
apfree-wifidog
/
files
/
wdping
blob: 1174e1acc0850ad6c746393b4c145deb3b9e63e1 [
file
] [
log
] [
blame
]
#!/bin/sh
IP
=
$1
[
-
x
/
usr
/
sbin
/
fping
]
&&
{
fping
-
t
100
-
c
1
$IP
&>
/
dev
/
null
&&
echo
1
||
echo
0
}
||
{
ping
-
w
1
-
c
1
$IP
&>
/
dev
/
null
&&
echo
1
||
echo
0
}