diff options
Diffstat (limited to '')
-rw-r--r-- | etc/conf.d/net | 7 | ||||
-rw-r--r-- | etc/conf.d/net-online | 18 | ||||
-rw-r--r-- | etc/conf.d/netmount | 47 |
3 files changed, 72 insertions, 0 deletions
diff --git a/etc/conf.d/net b/etc/conf.d/net new file mode 100644 index 0000000..4e33756 --- /dev/null +++ b/etc/conf.d/net @@ -0,0 +1,7 @@ +modules="!dhclient !dhcpcd udhcpc" + +modules_wlan0="!wireless iwd" +config_wlan0="dhcp" + +modules_eth0="!ifplugd netplug" +config_eth0="dhcp" diff --git a/etc/conf.d/net-online b/etc/conf.d/net-online new file mode 100644 index 0000000..9abe9ea --- /dev/null +++ b/etc/conf.d/net-online @@ -0,0 +1,18 @@ +# The interfaces setting controls which interfaces the net-online +# service considers in deciding whether the network is active. The +# default is all interfaces that support ethernet. +#interfaces="" + +# This setting controls whether a ping test is included in the test for +# network connectivity after all interfaces are active. +#include_ping_test=no + +# This setting is the host to attempt to ping if the above is yes. +# The default is google.com. +#ping_test_host=some.host.name + +# 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 diff --git a/etc/conf.d/netmount b/etc/conf.d/netmount new file mode 100644 index 0000000..e759adf --- /dev/null +++ b/etc/conf.d/netmount @@ -0,0 +1,47 @@ +# You will need to set the dependencies in the netmount script to match +# the network configuration tools you are using. This should be done in +# this file by following the examples below, and not by changing the +# service script itself. +# +# Each of these examples is meant to be used separately. So, for +# example, do not set rc_need to something like "net.eth0 dhcpcd". +# +# If you are using newnet and configuring your interfaces with static +# addresses with the network script, you should use this setting. +# +#rc_need="network" +# +# If you are using oldnet, you must list the specific net.* services you +# need. +# +# This example assumes all of your netmounts can be reached on +# eth0. +# +#rc_need="net.eth0" +# +# This example assumes some of your netmounts are on eth1 and some +# are on eth2. +# +#rc_need="net.eth1 net.eth2" +# +# If you are using a dynamic network management tool like +# NetworkManager, dhcpcd in standalone mode, wicd, badvpn-ncd, etc, to +# manage the network interfaces with the routes to your netmounts, you +# should list that tool. +# +#rc_need="NetworkManager" +#rc_need="dhcpcd" +#rc_need="wicd" +# +# The default setting is designed to be backward compatible with our +# current setup, but you are highly discouraged from using this. In +# other words, please change it to be more suited to your system. +# +rc_need="net" +# +# Mark certain mount points as critical. +# This contains aspace separated list of mount points which should be +# considered critical. If one of these mount points cannot be mounted, +# netmount will fail. +# By default, this is empty. +#critical_mounts="/home /var" |