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