Browse Source

Align comments of ifstart() function in netstart and install.sub.

OPENBSD_6_2
rpe 7 years ago
parent
commit
adcd971bb5
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/etc/netstart

+ 4
- 1
src/etc/netstart View File

@ -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


Loading…
Cancel
Save