-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add check_internet_connection function
Make sure that the system is online, by checking system's domain name resolvability, with the help of nslookup tool. It waits up to 30 seconds (by default), while probing known worl-wide resilient internet domains, to try to make up for loss of connectivity - especially for systems with suspension enabled where after waking up they don't come back online quick enough - before doing any operation that involves downloading data with Zypper. This feature also acts as a short-circuit for Zypper transactions bound to fail due to working connection unavailability.
- Loading branch information
Showing
1 changed file
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters