From 95632676a94a32bfa0a334b8e7f1c0fc87ce1af4 Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Thu, 14 Mar 2019 15:53:53 +0100 Subject: Add option to wait until target is reachable Add option for time saving waiting Replace date with simple timeout Rename configurable variable and add documentation Print log only when didn't reach IP address in time Add support for IPv6 address Remove unneeded output Change -ge to -gt, because equal value is ok Clarify DNS name option in documentation --- doc/sysconfig.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') diff --git a/doc/sysconfig.txt b/doc/sysconfig.txt index 891a10eb..a848ba42 100644 --- a/doc/sysconfig.txt +++ b/doc/sysconfig.txt @@ -152,6 +152,13 @@ Generic options: network has spanning tree running and must wait for STP convergence. Default: 0 (no delay) + WAIT_UNTIL_REACHABLE= + Network initscript will wait until specified target is reachable. + It starts to reaching passed IP address or DNS name every second until it reach it sucessfully or until it reach preset delay NETWORKDELAY (default 30). + It works with both IPv4 and IPv6 adress and also with DNS name. + Example: WAIT_UNTIL_REACHABLE=8.8.8.8 + Default: (not set) + IFDOWN_ON_SHUTDOWN=yes|no If yes, do bring interfaces down during system shutdown. If no, leave them in their current state (this is only supported on hosts using systemd). -- cgit v1.2.1