Changeset 6 for trunk/pxeconfig/pxeconfig
- Timestamp:
- 02/21/02 14:21:52 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pxeconfig/pxeconfig
r4 r6 7 7 # 8 8 # CVS info 9 # $Date: 2002/02/19 09:57:40 $ 10 # $Revision: 1.3 $ 9 # $Date: 2002/02/21 13:21:51 $ 10 # $Revision: 1.4 $ 11 # 12 # Copyright (C) 2000, SARA. 13 # 14 # Permission to use, copy, modify, and distribute this software and its 15 # documentation for non-commercial purposes and without fee is hereby 16 # granted, provided that the above copyright notice appears in all copies 17 # and that both the copyright notice and this permission notice appear in 18 # supporting documentation. 19 # 20 # Neither SARA (Stichting Academisch Rekencentrum Amsterdam) nor the 21 # nor the author make any representations about the suitability of this 22 # software for any purpose. This software is provided ``as is'' without 23 # express or implied warranty. 24 # 11 25 # 12 26 """ … … 173 187 iptable[network].append(int(end)) 174 188 175 176 189 for net in iptable.keys(): 177 190 if DEBUG: … … 179 192 create_links(iptable[net]) 180 193 194 181 195 def check_args(argv): 182 196 """ 183 Must we use another directory for the PXE configuration 197 command line option: 198 -d/--directory <dir> 199 Where <dir> is the directory where the pxe config files reside. 184 200 """ 185 201 global PXE_CONF_DIR … … 187 203 opts, args = getopt.getopt(argv[1:], SHORTOPT_LIST, LONGOPT_LIST) 188 204 except getopt.error, detail: 189 print __doc__205 print check_args.__doc__ 190 206 print detail 191 207 sys.exit(1)
Note: See TracChangeset
for help on using the changeset viewer.