From eeda5d3cf7da337119e257fa99ac77542514350f Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Sat, 25 May 2013 23:02:35 +0200 Subject: rcdscripts: import conf.d files sourced by init scripts Unfortunately this import is not perfect, it's harder to detect and make a distinction between regular service configuration files, and conf.d configuration files used by old Arch Linux init scripts only. But we have a good number of them, around 70 now. --- src/initscripts-network/bonding.conf.d | 12 ++++++++++++ src/initscripts-network/bridges.conf.d | 27 +++++++++++++++++++++++++++ src/initscripts-network/dhcpcd.conf.d | 6 ++++++ 3 files changed, 45 insertions(+) create mode 100644 src/initscripts-network/bonding.conf.d create mode 100644 src/initscripts-network/bridges.conf.d create mode 100644 src/initscripts-network/dhcpcd.conf.d (limited to 'src/initscripts-network') diff --git a/src/initscripts-network/bonding.conf.d b/src/initscripts-network/bonding.conf.d new file mode 100644 index 0000000..3092c5e --- /dev/null +++ b/src/initscripts-network/bonding.conf.d @@ -0,0 +1,12 @@ +# +# Settings for ethernet bonding +# +# For each bond interface declared in INTERFACES (in rc.conf), declare +# a bond_${IF} variable that contains the real ethernet interfaces that +# should be bonded to the bond interface with the ifenslave utility. +# Then list the bond interface name in the BOND_INTERFACES array. +# + +#bond_bond0="eth0 eth1" +#BOND_INTERFACES=(bond0) + diff --git a/src/initscripts-network/bridges.conf.d b/src/initscripts-network/bridges.conf.d new file mode 100644 index 0000000..2609cf5 --- /dev/null +++ b/src/initscripts-network/bridges.conf.d @@ -0,0 +1,27 @@ +# +# Settings for layer-2 bridges +# +# For each bridge interface declared in INTERFACES (in rc.conf), declare +# a bridge_${IF} variable that contains the real ethernet interfaces that +# should be bridged togeether. +# +# Then list the bridge interface name in the BRIDGE_INTERFACES array. +# + +# example: +# +# in /etc/rc.conf: +# eth0="eth0 up" +# eth1="eth1 up" +# br0="br0 192.168.0.2 netmask 255.255.255.0 up" +# INTERFACES=(lo eth0 eth1 br0) +# +# in /etc/conf.d/bridges +# bridge_br0="eth0 eth1" +# BRIDGE_INTERFACES=(br0) +# + + +#bridge_br0="eth0 eth1" +#BRIDGE_INTERFACES=(br0) + diff --git a/src/initscripts-network/dhcpcd.conf.d b/src/initscripts-network/dhcpcd.conf.d new file mode 100644 index 0000000..83c6f14 --- /dev/null +++ b/src/initscripts-network/dhcpcd.conf.d @@ -0,0 +1,6 @@ +# +# Arguments to be passed to the DHCP client daemon +# + +DHCPCD_ARGS="-q" + -- cgit v1.2.3