summaryrefslogtreecommitdiffstats
path: root/rc.inet1.conf
Commit message (Collapse)AuthorAgeFilesLines
* rc.inet1*: Simplify virtif_* code, add note to example configJakub Jankowski2017-11-211-1/+3
| | | | | | | | | | | | | There is a built-in way of counting the number of elements in an array: ${#arrayname[@]}. Use this, and the fact that "for i in $(seq 0 -1)" will not evaluate body of the loop even once, to simplify code and get rid of virtif_determine(). While at it, add a note to rc.inet1.conf mentioning the necessity of keeping array indexes monotonically increasing (from 0), otherwise the code will fail (so would the original code). Signed-off-by: Robby Workman <rworkman@slackware.com>
* rc.inet1*: Fix DHCP timeoutcurrent-20171121Robby Workman2017-11-211-1/+1
| | | | | This was accidentally changed from 15 seconds back to the 14.2 default of 10 seconds. Thanks to Eduard Rozenberg.
* rc.inet1.conf: Clarify comment wrt bridge interfacesRobby Workman2017-10-071-1/+1
|
* rc.inet1.*: Added support for IP address aliasesRobby Workman2017-07-141-0/+5
| | | | | | | | | | | | | This is accomplished with a new parameter in rc.inet1.conf: IPALIASES[$index]="space separated list of addresses" The aliases are added with a /32 mask and a label of ${interface}:{$number} to remain compatible with net-tools. IP address aliases are supported for both statically configured interfaces and dhcp-configured interfaces, although they'll only be configured for dhcp if the dhcpcd call succeeds. * note: I don't what happens if dhcpcd gets IPv4LL address
* rc.inet1{,.conf}: Allow create/destroy of virtual tun/tap devicesRobby Workman2017-07-121-0/+17
|
* Initial commit of rc.inet1* and rc.wireless*Robby Workman2017-01-061-0/+117
If other files are needed, they can be added later