Module Name: src Committed By: jym Date: Thu Apr 7 00:22:59 UTC 2011
Modified Files: src/share/man/man5: ifconfig.if.5 Log Message: Be more precise on the chars accepted for xxN in /etc/ifconfig.xxN filenames, and ifconfig_xxN variables inside rc.conf(5). Should fix PR misc/39376. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/share/man/man5/ifconfig.if.5 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man5/ifconfig.if.5 diff -u src/share/man/man5/ifconfig.if.5:1.14 src/share/man/man5/ifconfig.if.5:1.15 --- src/share/man/man5/ifconfig.if.5:1.14 Sun Sep 26 18:52:04 2010 +++ src/share/man/man5/ifconfig.if.5 Thu Apr 7 00:22:59 2011 @@ -1,4 +1,4 @@ -.\" $NetBSD: ifconfig.if.5,v 1.14 2010/09/26 18:52:04 apb Exp $ +.\" $NetBSD: ifconfig.if.5,v 1.15 2011/04/07 00:22:59 jym Exp $ .\" .\" Copyright (c) 1996 Matthew R. Green .\" All rights reserved. @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd September 26, 2010 +.Dd April 7, 2011 .Dt IFCONFIG.IF 5 .Os .Sh NAME @@ -56,6 +56,14 @@ file for the .Sy fxp0 interface). +Only characters allowed in +.Xr sh 1 +variables names should be used for +.Ar nnX +.Po Xr ascii 7 +uppercase and lowercase letters, digits, and underscore +.Pc . +.Pp The variable or file will get evaluated only if the interface exists on the system. Multiple lines can be placed in a variable or file, and will be