shutdown implemented
This commit is contained in:
parent
a972afccf5
commit
cef9facca5
@ -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()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user