1
0
mirror of https://github.com/MarkParker5/STARK.git synced 2024-11-24 08:12:13 +02:00

change reboot method

This commit is contained in:
MarkParker5 2021-01-04 20:08:16 +02:00
parent d4cf2babcd
commit b4e08f9411

View File

@ -5,7 +5,7 @@ import config
################################################################################
def reboot(params):
if params['bool']:
os.system('sudo systemctl restart archie')
os.system('sudo reboot')
return {
'text': 'Хорошо',
'voice': 'Хорошо',