source: trunk/src/pxeconfig.in @ 161

Last change on this file since 161 was 161, checked in by bas, 15 years ago

src/pxeconfig.in:

  • fixeed spelling error and appended pxeconfig to the path statement, see #10
  • Property keywords set to Id
  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 1.1 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 161 2009-05-28 14:32:02Z 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
37if __name__ == '__main__':
38        try:
39                pxeconfig.main()
40        except pxeconfig.PxeConfig, detail:
41                print detail
42                sys.exit(1)
Note: See TracBrowser for help on using the repository browser.