aboutsummaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-10-19 18:06:55 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-10-20 12:13:47 -0500
commit960881fcfe974178c0846a816663a258cdd488cc (patch)
treedb1cff0b0f4dcd055efd6f39f1af0e129a1560b9 /conf.d
parentd26013494db8ea8699db9815ef4c4b0eb2f55e7f (diff)
Add net-online service
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/Makefile3
-rw-r--r--conf.d/net-online15
2 files changed, 17 insertions, 1 deletions
diff --git a/conf.d/Makefile b/conf.d/Makefile
index 34a3b070..b8da0e04 100644
--- a/conf.d/Makefile
+++ b/conf.d/Makefile
@@ -15,7 +15,8 @@ include ${MK}/os.mk
CONF-FreeBSD= ipfw moused powerd rarpd savecore syscons
-CONF-Linux= consolefont devfs dmesg hwclock keymaps killprocs modules mtab
+CONF-Linux= consolefont devfs dmesg hwclock keymaps killprocs modules mtab \
+ net-online
CONF-NetBSD= moused rarpd savecore
diff --git a/conf.d/net-online b/conf.d/net-online
new file mode 100644
index 00000000..bf0b09a2
--- /dev/null
+++ b/conf.d/net-online
@@ -0,0 +1,15 @@
+# The interfaces setting controls which interfaces the net-online
+# service considers in deciding whether the network is active. By
+# default, it is all ethernet or wireless LAN interfaces.
+#interfaces=""
+
+# This setting controls whether a ping to the default gateway is
+# included in the test for network connectivity after all interfaces
+# are active.
+#ping_default_gateway=no
+
+# The timeout setting controls how long the net-online service waits
+# for the network to be configured.
+# The default is 120 seconds.
+# if this is set to 0, the wait is infinite.
+#timeout=120