예제 #1
0
def main():
    myShutdown= Shutdown()
    #myShutdown.startShutdown('-P', '45', 'password')
    pass
    pass
    myShutdown.stopShutdown("Shutdown aufgehoben", 'password')
예제 #2
0
 def stopShut(self):
     myShutdown= Shutdown()
     myShutdown.stopShutdown('Shutdown deaktiviert')
     self.pbShutdown.setEnabled(1)
     self.pbStop.setDisabled(1)
     print 'Stop ausgefuehrt'