git://git.onelab.eu
/
monitor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cde7b9e
)
lookup path relative to python installation.
author
Stephen Soltesz
<soltesz@cs.princeton.edu>
Thu, 12 Feb 2009 21:14:34 +0000
(21:14 +0000)
committer
Stephen Soltesz
<soltesz@cs.princeton.edu>
Thu, 12 Feb 2009 21:14:34 +0000
(21:14 +0000)
pcucontrol/models/IntelAMT.py
patch
|
blob
|
history
diff --git
a/pcucontrol/models/IntelAMT.py
b/pcucontrol/models/IntelAMT.py
index
af201ba
..
61e820d
100644
(file)
--- a/
pcucontrol/models/IntelAMT.py
+++ b/
pcucontrol/models/IntelAMT.py
@@
-1,4
+1,5
@@
from pcucontrol.reboot import *
+from distutils.sysconfig import get_python_lib;
class IntelAMT(PCUControl):
supported_ports = [16992]
@@
-7,7
+8,7
@@
class IntelAMT(PCUControl):
cmd = command.CMD()
# TODO: need to make this path universal; not relative to pwd.
- cmd_str =
config.MONITOR_SCRIPT_ROOT
+ "/pcucontrol/models/intelamt/remoteControl"
+ cmd_str =
get_python_lib(1)
+ "/pcucontrol/models/intelamt/remoteControl"
if dryrun:
# NOTE: -p checks the power state of the host.