Create a monitordir for hosts (in server/hosts/monitors) for storing scripts
used to monitor an input stream (e.g. a console) and output warnings.

Risk: Low
Visibility: Internal refactoring

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2122 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/hosts/serial.py b/server/hosts/serial.py
index daa925a..f654793 100644
--- a/server/hosts/serial.py
+++ b/server/hosts/serial.py
@@ -65,8 +65,7 @@
             return
 
         r, w = os.pipe()
-        script_path = os.path.join(self.serverdir,
-                                   'warning_monitor.py')
+        script_path = os.path.join(self.monitordir, 'console.py')
         cmd = [self.conmux_attach, self.get_conmux_hostname(),
                '%s %s %s %d' % (sys.executable, script_path,
                                 self.__console_log, w)]