melawy-archiso-config/Melawy-Linux-NetInstall/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