Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rc.inet1: Use simple test (-n/-z) for non-empty/empty | Jakub Jankowski | 2017-11-21 | 1 | -13/+13 |
| | | | | | | | | sh has built-in test for non-empty (-n) and empty (-z) variables, so let's use them. Also, quote variables, especially in tests (if [ ]) and array expansion (${foo[@]}). Signed-off-by: Robby Workman <rworkman@slackware.com> | ||||
* | rc.inet1: Replace [ test1 -a test2 ] with [ test1 ] && [ test2 ] | Jakub Jankowski | 2017-11-21 | 1 | -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-20171121 | Robby Workman | 2017-11-21 | 1 | -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 Workman | 2017-11-12 | 1 | -3/+0 |
| | |||||
* | rc.inet1.*: Added support for IP address aliases | Robby Workman | 2017-07-14 | 1 | -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 expr | Robby Workman | 2017-07-13 | 1 | -1/+1 |
| | |||||
* | rc.inet1: fix index number usage in virtual interface setup/destroy | Robby Workman | 2017-07-12 | 1 | -1/+1 |
| | |||||
* | rc.inet1{,.conf}: Allow create/destroy of virtual tun/tap devices | Robby Workman | 2017-07-12 | 1 | -0/+27 |
| | |||||
* | rc.inet1: Fix bridge teardown code | Robby Workman | 2017-07-12 | 1 | -3/+3 |
| | |||||
* | rc.inet1: Bugfixes... | Robby Workman | 2017-07-11 | 1 | -4/+4 |
| | |||||
* | rc.inet1: Replace backticks with $() | Robby Workman | 2017-07-11 | 1 | -9/+9 |
| | |||||
* | rc.inet1: Migrate bridge setup/teardown to iproute2 from brctl | Robby Workman | 2017-07-11 | 1 | -4/+13 |
| | | | | This should complete f7533fca7e82 and eliminate the TODO | ||||
* | rc.inet1: migrate gateway functions | Robby Workman | 2017-07-11 | 1 | -6/+6 |
| | |||||
* | rc.inet1: Migrate code to take down interfaces | Robby Workman | 2017-07-11 | 1 | -3/+3 |
| | |||||
* | rc.inet1: Migrate code to bring up interfaces | Robby Workman | 2017-07-11 | 1 | -10/+11 |
| | |||||
* | rc.inet1: Partially migrate bridge setup code | Robby Workman | 2017-07-11 | 1 | -3/+3 |
| | | | | TODO: brctl --> ip link add name ${br_name} type bridge | ||||
* | rc.inet1: Migrate loopback interface code | Robby Workman | 2017-07-11 | 1 | -7/+8 |
| | |||||
* | rc.inet1: Use return (not continue) to leave the if_up() function. | Robby Workman | 2017-07-11 | 1 | -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 Workman | 2017-01-06 | 1 | -0/+326 |
If other files are needed, they can be added later |