shutdown implemented

This commit is contained in:
tillraab 2019-10-01 11:23:22 +02:00
parent a972afccf5
commit cef9facca5

View File

@ -72,7 +72,7 @@ def main():
GPIO.output(LED1_pin, GPIO.LOW)
GPIO.output(LED2_pin, GPIO.LOW)
print('shut down')
os.system("shutdown /s /t 1");
os.system('sudo shutdown 0')
quit()