summaryrefslogtreecommitdiffstats
path: root/rc.inet1
Commit message (Collapse)AuthorAgeFilesLines
...
* rc.inet1: Replace [ test1 -a test2 ] with [ test1 ] && [ test2 ]Jakub Jankowski2017-11-211-3/+3
| | | | | | | | | Conditional expression like [ test1 -a test2 ] should be avoided as it is not well defined. See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_16 and https://github.com/koalaman/shellcheck/wiki/SC2166 Signed-off-by: Robby Workman <rworkman@slackware.com>
* rc.inet1*: Fix DHCP timeoutcurrent-20171121Robby Workman2017-11-211-5/+5
| | | | | This was accidentally changed from 15 seconds back to the 14.2 default of 10 seconds. Thanks to Eduard Rozenberg.
* rc.inet1: Remove ipmask usage (unnecessary now)Robby Workman2017-11-121-3/+0
|
* rc.inet1.*: Added support for IP address aliasesRobby Workman2017-07-141-0/+18
| | | | | | | | | | | | | 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: Use bash builtin arithmetic instead of external exprRobby Workman2017-07-131-1/+1
|
* rc.inet1: fix index number usage in virtual interface setup/destroyRobby Workman2017-07-121-1/+1
|
* rc.inet1{,.conf}: Allow create/destroy of virtual tun/tap devicesRobby Workman2017-07-121-0/+27
|
* rc.inet1: Fix bridge teardown codeRobby Workman2017-07-121-3/+3
|
* rc.inet1: Bugfixes...Robby Workman2017-07-111-4/+4
|
* rc.inet1: Replace backticks with $()Robby Workman2017-07-111-9/+9
|
* rc.inet1: Migrate bridge setup/teardown to iproute2 from brctlRobby Workman2017-07-111-4/+13
| | | | This should complete f7533fca7e82 and eliminate the TODO
* rc.inet1: migrate gateway functionsRobby Workman2017-07-111-6/+6
|
* rc.inet1: Migrate code to take down interfacesRobby Workman2017-07-111-3/+3
|
* rc.inet1: Migrate code to bring up interfacesRobby Workman2017-07-111-10/+11
|
* rc.inet1: Partially migrate bridge setup codeRobby Workman2017-07-111-3/+3
| | | | TODO: brctl --> ip link add name ${br_name} type bridge
* rc.inet1: Migrate loopback interface codeRobby Workman2017-07-111-7/+8
|
* rc.inet1: Use return (not continue) to leave the if_up() function.Robby Workman2017-07-111-1/+1
| | | | | | Thanks to Tim Thomas for the bug report. Merged from Wed Sep 21 15:54:06 UTC 2016 changes to -current tree
* Initial commit of rc.inet1* and rc.wireless*Robby Workman2017-01-061-0/+326
If other files are needed, they can be added later