From 247bad13e843f349d062b86dafeec8fd3b8162e7 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Wed, 13 Nov 2019 20:44:18 +0000 Subject: In rc.inet1.conf, be consistant with spacing and commenting. --- rc.inet1.conf | 91 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 45 insertions(+), 46 deletions(-) diff --git a/rc.inet1.conf b/rc.inet1.conf index aba374c..cdb66ba 100644 --- a/rc.inet1.conf +++ b/rc.inet1.conf @@ -1,19 +1,19 @@ # /etc/rc.d/rc.inet1.conf # # This file contains the configuration settings for network interfaces. - +# # If USE_DHCP[interface] is set to "yes", this overrides any other settings. # If you don't have an interface, leave the settings null (""). - +# # You can configure network interfaces other than eth0,eth1... by setting # IFNAME[interface] to the interface's name. If IFNAME[interface] is unset # or empty, it is assumed you're configuring eth. - -# Several other parameters are available, the end of this file contains a +# +# Several other parameters are available; the end of this file contains a # comprehensive set of examples. - +# # Important note for IPv6 stateless auto configuration (SLAAC) users: -# From Slackware 15.0 onwards, you need to set USE_SLAAC[0]="yes" (etc) below +# From Slackware 15.0 onwards, you need to set USE_SLAAC[0]="yes" below. # ============================================================================= @@ -68,51 +68,51 @@ GATEWAY6="" # ============================================================================= -# Change this to "yes" for debugging output to stdout. +# Change this to "yes" for debugging output to syslog (if available, stdout if +# not). DEBUG_ETH_UP="no" # MAXNICS is the maximum number of interfaces that will be configured. # You may need to increase the MAXNICS value if you have many interfaces, or # you use multiple VLANs and/or bridges. The default is 6. -# MAXNICS="6" +#MAXNICS="6" # ============================================================================= # Example of how to configure a bond (link aggrigation) interface. -# IFNAME[0]="bond0" -# BONDNICS[0]="eth0 eth1" -# BONDMODE[0]="balance-rr" -# BONDOPTS[0]="xmit_hash_policy layer2+3 | miimon 100" -# IPADDR[0]="192.168.0.1" -# NETMASK[0]="24" -# IPALIASES[0]="" -# USE_DHCP[0]="" -# DHCP_HOSTNAME[0]="" -# IP6ADDRS[0]="" -# USE_SLAAC[0]="" -# USE_DHCP6[0]="" +#IFNAME[0]="bond0" +#BONDNICS[0]="eth0 eth1" +#BONDMODE[0]="balance-rr" +#BONDOPTS[0]="xmit_hash_policy layer2+3 | miimon 100" +#IPADDR[0]="192.168.0.1" +#NETMASK[0]="24" +#IPALIASES[0]="" +#USE_DHCP[0]="" +#DHCP_HOSTNAME[0]="" +#IP6ADDRS[0]="" +#USE_SLAAC[0]="" +#USE_DHCP6[0]="" # ============================================================================= -# Example of how to configure a VLAN interface. +# Example of how to configure a VLAN interface: # The VLAN ID is taken from the full interface name, which is comprised of the # underlying interface name, a period (.) and then the VLAN ID. # VLANOPTS is a pipe (|) delimited list of VLAN module specific settings to be # applied to the interface. See the ip-link(8) man page (search for "VLAN Type # Support") for details of the options available. This option is not required # for a standard VLAN to be configured. -# -# IFNAME[0]="eth0.10" -# VLANOPTS[0]="" -# IPADDR[0]="192.168.10.1" -# NETMASK[0]="24" -# IPALIASES[0]="" -# USE_DHCP[0]="" -# DHCP_HOSTNAME[0]="" -# IP6ADDRS[0]="" -# USE_SLAAC[0]="" -# USE_DHCP6[0]="" +#IFNAME[0]="eth0.10" +#VLANOPTS[0]="" +#IPADDR[0]="192.168.10.1" +#NETMASK[0]="24" +#IPALIASES[0]="" +#USE_DHCP[0]="" +#DHCP_HOSTNAME[0]="" +#IP6ADDRS[0]="" +#USE_SLAAC[0]="" +#USE_DHCP6[0]="" # ============================================================================= @@ -123,14 +123,14 @@ DEBUG_ETH_UP="no" # applied to the interface. See the ip-link(8) man page (search for "BRIDGE # Type Support") for details of the options available. This option is not # required for a standard bridge to be configured. -# IFNAME[0]="br0" -# BRNICS[0]="eth0" -# BROPTS[0]="" -# IPADDR[0]="192.168.0.1" -# NETMASK[0]="24" -# IPALIASES[0]="" -# USE_DHCP[0]="" -# DHCP_HOSTNAME[0]="" +#IFNAME[0]="br0" +#BRNICS[0]="eth0" +#BROPTS[0]="" +#IPADDR[0]="192.168.0.1" +#NETMASK[0]="24" +#IPALIASES[0]="" +#USE_DHCP[0]="" +#DHCP_HOSTNAME[0]="" # ============================================================================= @@ -140,13 +140,12 @@ DEBUG_ETH_UP="no" # adjust VIRTIFNAME and VIRTIFTYPE accordingly. # Starting with VIRTIFNAME[0] is mandatory, and each next one must be # incremented by one, so VIRTIFNAME[1], VIRTIFNAME[2], and so on. -# # Virtual tap interface example #VIRTIFNAME[0]="tap0" #VIRTIFTYPE[0]="tap" #VIRTIFUSER[0]="root" #VIRTIFGROUP[0]="root" -# + # Virtual tun interface example #VIRTIFNAME[1]="tun0" #VIRTIFTYPE[1]="tun" @@ -155,8 +154,9 @@ DEBUG_ETH_UP="no" # ============================================================================= -## Example config information for wlan0. Uncomment the lines you need and fill -## in your data. (You may not need all of these for your wireless network) +# Example config information for wlan0: +# Uncomment the lines you need and fill in your data. You may not need all of +# these for your wireless network. #IFNAME[4]="wlan0" #IPADDR[4]="" #NETMASK[4]="" @@ -178,8 +178,7 @@ DEBUG_ETH_UP="no" # ============================================================================= -## Some examples of additional network parameters that you can use. -## Config information for wlan0: +# Some examples of additional network parameters that you can use. #IFNAME[4]="wlan0" # Use a different interface name instead of # the default 'eth4' #IPALIASES[4]="192.168.5.10/24" # Set up an IP alias. A netmask may be given -- cgit v1.2.3