Преглед изворни кода

do not reset since its a full update anyway

Tobias Simetsreiter пре 4 година
родитељ
комит
b85aee5de9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/main.py

+ 1 - 1
src/main.py

@@ -48,7 +48,7 @@ def com_autostart(args):
     com_install(args)
     com_install(args)
     with open("/etc/cron.d/42-bootstrap_captive", "w") as fd:
     with open("/etc/cron.d/42-bootstrap_captive", "w") as fd:
         fd.write('''
         fd.write('''
-@reboot /usr/local/bin/bootstrap_captive autostart
+@reboot root /usr/local/bin/bootstrap_captive autostart
 ''')
 ''')
     from bootstrap_captive.gpio import switch
     from bootstrap_captive.gpio import switch
     if switch(args):
     if switch(args):