source: trunk/src/pxeconfig.in

Last change on this file was 201, checked in by bas, 10 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
Line 
1#!@PYTHON@
2#
3# set ts=4, sw=4
4#
5# Author: Bas van der Vlies <basv@sara.nl>
6# Date  : 16 February 2002
7#
8# SVN info
9#  $Id: pxeconfig.in 201 2012-08-22 11:40:52Z bas $
10#
11# Copyright (C) 2002
12#
13# This file is part of the pxeconfig utils
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.
19#
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.
24#
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#
29import sys
30
31try:
32    import pxeconfig
33except ImportError, detail:
34    sys.path.append('@prefix@/lib/python@PYTHON_VERSION@/site-packages/pxeconfig')
35    import pxeconfig
36
37from pxe_global import *
38
39if __name__ == '__main__':
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.