Author: hrs
Date: Sat Sep 12 22:14:21 2009
New Revision: 197140
URL: http://svn.freebsd.org/changeset/base/197140

Log:
  - Add "AUTO" keyword support in $rtadvd_interfaces.
  - Wrap a long line.
  
  MFC after:    3 days

Modified:
  head/etc/rc.d/rtadvd

Modified: head/etc/rc.d/rtadvd
==============================================================================
--- head/etc/rc.d/rtadvd        Sat Sep 12 22:13:41 2009        (r197139)
+++ head/etc/rc.d/rtadvd        Sat Sep 12 22:14:21 2009        (r197140)
@@ -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
                                ;;
                        *)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to