From adcd971bb56c4bc97a2ca3ff6e0b7546f54d3a4e Mon Sep 17 00:00:00 2001 From: rpe <> Date: Fri, 7 Apr 2017 22:15:17 +0000 Subject: [PATCH] Align comments of ifstart() function in netstart and install.sub. --- src/etc/netstart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/etc/netstart b/src/etc/netstart index b57be3c6..88476411 100644 --- a/src/etc/netstart +++ b/src/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.173 2017/04/07 21:44:07 rpe Exp $ +# $OpenBSD: netstart,v 1.174 2017/04/07 22:15:17 rpe Exp $ # Turn off Strict Bourne shell mode. set +o sh @@ -22,7 +22,10 @@ stripcom() { # Start a single interface. # Usage: ifstart if1 ifstart() { + # Note: Do not rename the 'if' variable which is documented as being + # usable in hostname.if(5) files. if=$1 + # Interface names must be alphanumeric only. We check to avoid # configuring backup or temp files, and to catch the "*" case. [[ $if != +([[:alpha:]])+([[:digit:]]) ]] && return