mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-14 07:22:18 +03:00
disable user config set
This commit is contained in:
parent
774387867d
commit
f52290b218
2 changed files with 1 additions and 2 deletions
|
@ -25,5 +25,5 @@ get_policy_timeout = 30
|
||||||
[MACHINE]
|
[MACHINE]
|
||||||
type = default
|
type = default
|
||||||
agreement = 2
|
agreement = 2
|
||||||
user_disabled=1
|
user_disabled=0
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,6 @@ class AnonymousMessenger(ClientXMPP):
|
||||||
self.logger.info('Disconnecting...')
|
self.logger.info('Disconnecting...')
|
||||||
self.disconnect()
|
self.disconnect()
|
||||||
self.logger.info('Rebooting...')
|
self.logger.info('Rebooting...')
|
||||||
self.disable_local_users()
|
|
||||||
System.Process.kill_by_pid(int(System.Ahenk.get_pid_number()))
|
System.Process.kill_by_pid(int(System.Ahenk.get_pid_number()))
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
Util.shutdown();
|
Util.shutdown();
|
||||||
|
|
Loading…
Reference in a new issue