refs #1676 add interfaceAdm/Apagar.py

pull/5/head
Natalia Serrano 2025-03-10 11:58:21 +01:00
parent dd19d43c14
commit c5f30a9dee
1 changed files with 4 additions and 7 deletions

View File

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