Last change
on this file since 187 was
170,
checked in by bas, 14 years ago
|
pxe_global.py:
- moved some more functions to the library the exception Class
src/pxeconfigd.py:
- just import the server side as module
|
-
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 170 2009-08-19 08:13:06Z 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 | # |
---|
29 | import sys |
---|
30 | |
---|
31 | try: |
---|
32 | import pxeconfig |
---|
33 | except ImportError, detail: |
---|
34 | sys.path.append('@prefix@/lib/python@PYTHON_VERSION@/site-packages/pxeconfig') |
---|
35 | import pxeconfig |
---|
36 | |
---|
37 | from pxe_global import * |
---|
38 | |
---|
39 | if __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.