refs #1677 add interfaceAdm/Reiniciar.py

pull/5/head
Natalia Serrano 2025-03-10 12:00:30 +01:00
parent c5f30a9dee
commit d7fc4fde40
1 changed files with 5 additions and 6 deletions

View File

@ -1,8 +1,7 @@
#!/usr/bin/env python3
#!/usr/bin/python3
import os
import sys
def reboot_system():
os.system('reboot')
if __name__ == "__main__":
reboot_system()
os.system ('reboot')
sys.exit (0)