source: trunk/src/pxeconfig.in

Last change on this file was 201, checked in by bas, 12 years ago

replace tabs with spaces

  • Property keywords set to Id
  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 1.2 KB
RevLine 
[147]1#!@PYTHON@
[2]2#
[104]3# set ts=4, sw=4
4#
[2]5# Author: Bas van der Vlies <basv@sara.nl>
6# Date  : 16 February 2002
7#
[29]8# SVN info
9#  $Id: pxeconfig.in 201 2012-08-22 11:40:52Z bas $
[2]10#
[14]11# Copyright (C) 2002
[6]12#
[14]13# This file is part of the pxeconfig utils
[6]14#
[14]15# This program is free software; you can redistribute it and/or modify it
16# under the terms of the GNU General Public License as published by the
17# Free Software Foundation; either version 2, or (at your option) any
18# later version.
[6]19#
[14]20# This program is distributed in the hope that it will be useful,
21# but WITHOUT ANY WARRANTY; without even the implied warranty of
22# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23# GNU General Public License for more details.
[6]24#
[14]25# You should have received a copy of the GNU General Public License
26# along with this program; if not, write to the Free Software
27# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
28#
[2]29import sys
30
[160]31try:
[201]32    import pxeconfig
[161]33except ImportError, detail:
[201]34    sys.path.append('@prefix@/lib/python@PYTHON_VERSION@/site-packages/pxeconfig')
35    import pxeconfig
[160]36
[170]37from pxe_global import *
38
[120]39if __name__ == '__main__':
[201]40    try:
41        pxeconfig.main()
42    except pxeconfig.PxeConfig, detail:
43        print detail
44        sys.exit(1)
Note: See TracBrowser for help on using the repository browser.