diff options
author | hrs <hrs@FreeBSD.org> | 2009-09-12 22:14:21 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2009-09-12 22:14:21 +0000 |
commit | 46934a2853f4c79ad97f401d9afbfd0970b702aa (patch) | |
tree | cc7d29cf7896edbb15041e021315eb531c5be631 /etc/rc.d | |
parent | 7c88a6d4ae7fe6cf1d242c9a458a3a3460936fed (diff) | |
download | FreeBSD-src-46934a2853f4c79ad97f401d9afbfd0970b702aa.zip FreeBSD-src-46934a2853f4c79ad97f401d9afbfd0970b702aa.tar.gz |
- Add "AUTO" keyword support in $rtadvd_interfaces.
- Wrap a long line.
MFC after: 3 days
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-x | etc/rc.d/rtadvd | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/etc/rc.d/rtadvd b/etc/rc.d/rtadvd index 0d3c9d3..eadf9ba 100755 --- a/etc/rc.d/rtadvd +++ b/etc/rc.d/rtadvd @@ -40,10 +40,25 @@ rtadvd_precmd() # get a list of interfaces and enable it on them # case ${rtadvd_interfaces} in - '') + [Aa][Uu][Tt][Oo]|'') for i in `ifconfig -l` ; do case $i in - lo0|gif[0-9]*|stf[0-9]*|faith[0-9]*|lp[0-9]*|sl[0-9]*|tun[0-9]*) + lo0|\ + stf[0-9]*|\ + faith[0-9]*|\ + lp[0-9]*|\ + sl[0-9]*|\ + pflog[0-9]*|\ + pfsync[0-9]*|\ + an[0-9]*|\ + ath[0-9]*|\ + ipw[0-9]*|\ + iwi[0-9]*|\ + iwn[0-9]*|\ + ral[0-9]*|\ + wi[0-9]*|\ + wl[0-9]*|\ + wpi[0-9]*) continue ;; *) |