-
Notifications
You must be signed in to change notification settings - Fork 47
netwatch.conf
The following paths are searched, in this order: /etc/netwatch.conf
, /data/etc/netwatch.conf
and /boot/netwatch.conf
. Files that are present are used to source in options for configuring how various network-related parts of the system (such as services or network connectivity) are watched over.
This is a simple shell script that should contain only NAME="value"
lines. The file is sourced by many init scripts.
Enables or disables watching over the network links. Defaults to true
.
Determines the timeout, in seconds, after which a network link that goes down will cause a panic reboot. Defaults to 20
.
Enables or disables a watch routine that makes sure all configured network interfaces have an IP address. Defaults to true
.
Determines the timeout, in seconds, after which a network interface that has lost its IP address will cause a panic reboot. Defaults to 40
.
Enables or disables a watch routine that makes sure the default gateway is set and is reachable. Defaults to false
.
Determines the interval, in seconds, at which the gateway watch test will be run. Defaults to 60
.
Determines the number of retries in case of a gateway test failure, when using the gateway watch mechanism, after which the system will go into panic reboot. Defaults to 3
.
When set, this variable determines the host used to test the TCP connectivity. When unset, the netwatch mechanism is disabled. This is unset by default.
Determines the destination TCP port to be used by the netwatch mechanism. This is unset by default.
Determines the number of retries in case of a TCP connection failure, when using the netwatch mechanism, after which the system will go into panic reboot. Defaults to 3
.
Determines the time, in seconds, to delay the first TCP connection check after boot. This prevents panic reboots due to network connection issues after a power outage. Defaults to 300
.
Determines the timeout, in seconds, to wait for a successful TCP connection establishment, when using the netwatch mechanism. Defaults to 5
.
Determines the interval, in seconds, at which the netwatch test will be run. Defaults to 60
.
- bluetooth.conf
- captive-portal.conf
- cpufreq.conf
- date.conf
- dnsmasq.conf
- docker-compose.yml
- dtoverlays
- dyndns-update.sh
- environment
- firewall.sh
- fstab.user
- hostapd.conf
- ifalias.conf
- localtime
- modprobe.conf
- modules
- mongodb.conf
- netwatch.conf
- ntp.conf
- os.conf
- proftpd.conf
- redis.conf
- smb.conf
- ssh/config
- ssh/sshd_config
- ssl/domain
- ssl/email
- static_ip.conf
- sysctl.conf
- toemmc.conf
- version
- watchdog.conf
- wpa_supplicant.conf