pam config change for agent id

This commit is contained in:
edip 2019-01-04 09:02:20 +03:00
parent 6ee98f1997
commit 22e592fd5b
2 changed files with 3 additions and 3 deletions

View file

@ -123,7 +123,7 @@ class AnonymousMessenger(ClientXMPP):
self.logger.info('Rebooting...')
#System.Process.kill_by_pid(int(System.Ahenk.get_pid_number()))
#sys.exit(2)
#Util.shutdown();
Util.shutdown();
except Exception as e:
self.logger.error('Error Message: {0}.'.format(str(e)))

View file

@ -33,8 +33,8 @@ class Util:
@staticmethod
def shutdown():
print("shutting down")
#Util.execute('reboot')
pass
Util.execute('reboot')
@staticmethod
def create_file(full_path):