mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-16 15:11:52 +00:00
- Add "AUTO" keyword support in $rtadvd_interfaces.
- Wrap a long line. MFC after: 3 days
This commit is contained in:
parent
5d595cb88e
commit
70a873df0f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197140
@ -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
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user