|
Bash/sh: How to detect that there is no internet connection anymore?
Hello,
I would like to restart my modules of my networking kernel (bugy) for my machine, when it is gone, ie no internet.
I was thinking to detect if I have internet, to ping, but well.
I would be glad to check out a code of a specialist, whiling or having aleready eventually some code to propose.
thanks
|