@ -36,21 +35,10 @@ class SensorPlugin(BasePlugin):
returnFalse
definstall_command(self):
""" Generate the install command. Put everything you need that does not require a reboot in here. If you want to hard core alter the OS of the target, use the prime method """
raiseNotImplementedError
definstall(self):
""" Install the sensor. Executed on the target. Take the sensor from the share and (maybe) copy it to its destination. Do some setup
"""
cmd=self.install_command()
ifcmd:
self.machine_plugin.__call_remote_run__(cmd)
defstart_command(self):
""" Generate the start command """
raiseNotImplementedError
defstart(self,disown=None):
@ -59,23 +47,12 @@ class SensorPlugin(BasePlugin):