melawy-archiso-config/Melawy-Linux-Developer-Edition/airootfs/usr/local/bin/connection-checker

9 lines
100 B
Bash
Executable File

#!/usr/bin/env bash
ping -c 1 1.1.1.1 > /dev/null
if [ $? -eq 0 ]; then
true
else
false
fi