From cef9facca5a73582e479ee7b0e1b0353a6893d23 Mon Sep 17 00:00:00 2001 From: tillraab Date: Tue, 1 Oct 2019 11:23:22 +0200 Subject: [PATCH] shutdown implemented --- grid_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grid_main.py b/grid_main.py index a6eeb47..716041f 100644 --- a/grid_main.py +++ b/grid_main.py @@ -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()