Ignore:
Timestamp:
02/21/02 16:30:43 (20 years ago)
Author:
sscpbas
Message:

Fixes some typos. Thanks to Huun Stoffers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pxeconfig/pxeconfig

    r6 r9  
    77#
    88# CVS info
    9 #  $Date: 2002/02/21 13:21:51 $
    10 #  $Revision: 1.4 $
     9#  $Date: 2002/02/21 15:30:43 $
     10#  $Revision: 1.5 $
    1111#
    1212# Copyright (C) 2000, SARA.
     
    2626"""
    2727With this program you can configure which PXE configuration file
    28 to use when a node boots. The programm will ask the following questions:
     28to use when a node boots. The program will ask the following questions:
    2929  1) Network address (Class C-network address only)
    30   2) Starting nummber
     30  2) Starting number
    3131  3) Ending number
    32   4) Which PXE config file to use.
     32  4) Which PXE config file to use
    3333
    3434For example, if the answers are:
     
    6666def choice_pxe_configfile():
    6767  """
    68   Let user choice which pxeconfig file to use.
     68  Let user choose which pxeconfig file to use.
    6969  """
    7070
    7171  os.chdir(PXE_CONF_DIR)
    7272
    73   # Try to determine to which default file point to and
    74   # if exists remove it from te list.
     73  # Try to determine to which file the default symlink points, and
     74  # if it exists, remove it from the list.
    7575  #
    7676  try:
     
    103103
    104104    # Is the user smart enough to select
    105     # the right value
     105    # the right value??
    106106    #
    107107    if 0 < index <= len(files): break
     
    112112  """
    113113  Create the links in the PXE_CONF_DIR,
    114     list : A list containing: network hex addres, pxe config file,
     114    list : A list containing: network hex address, pxe config file,
    115115           start number, end number
    116116  """
     
    127127def check_network(net):
    128128  """
    129   This function check if the give network is a Class C-network and will
     129  This function checks if the give network is a Class C-network and will
    130130  convert the network address to a hex address if true.
    131131  """
     
    170170  print __doc__
    171171
    172   network = raw_input('Give network addres (xxx.xxx.xxx): ')
     172  network = raw_input('Give network address (xxx.xxx.xxx): ')
    173173  naddr = check_network(network)
    174174
Note: See TracChangeset for help on using the changeset viewer.