Browse Source

change variable i to $i in an expression of ifstart() for consistency

with the rest of the file.  no functional change.
feedback from sthen@, ok krw@
OPENBSD_4_7
simon 15 years ago
parent
commit
deb468f678
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/netstart

+ 2
- 2
src/etc/netstart View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: netstart,v 1.125 2009/07/10 19:08:08 jdixon Exp $
# $OpenBSD: netstart,v 1.126 2009/09/17 08:22:22 simon Exp $
# Strip comments (and leading/trailing whitespace if IFS is set) # Strip comments (and leading/trailing whitespace if IFS is set)
# from a file and spew to stdout # from a file and spew to stdout
@ -66,7 +66,7 @@ ifstart() {
# Make sure and get any remaining args in ext2, # Make sure and get any remaining args in ext2,
# like the read below # like the read below
i=1 i=1
while [ i -lt 6 -a -n "$1" ]; do shift; let i=i+1; done
while [ $i -lt 6 -a -n "$1" ]; do shift; let i=i+1; done
ext2="$@" ext2="$@"
else else
# Read the next line or exit the while loop. # Read the next line or exit the while loop.


Loading…
Cancel
Save