Hello,

I think I figured out what happened. I put a .py file in the Autorun 
folder. If I can only put JavaScript files in the Autorun folder, then I 
have figured it out. 

Seth

On Thursday, September 21, 2017 at 11:48:29 AM UTC-5, Dennis Lee Bieber 
wrote:
>
> On Wed, 20 Sep 2017 20:55:59 -0700 (PDT), Mala Dies 
> <[email protected] <javascript:>> declaimed the following: 
>
> >Hello, 
> > 
> >Is there a bug in the Autorun directory? I tried to use Cloud9 online and 
> >add Grove_GPS.py to the Autorun directory. It kicked me out of Cloud9 and 
> >restarted my session. 
> > 
>
> From http://beagleboard.org/support/bone101 
> """ 
> The systemd bonescript-autorun.service runs at start-up and uses the 
> /usr/lib/node_modules/bonescript/autorun.js script to automatically detect 
> when .js files are in this directory and invoke them as separate processes 
> with node.js. When the files are changed or moved, the script will kill 
> the 
> processes. 
> """ 
>
>         Unless things have changed, it only runs JavaScript files (but 
> putting 
> any file in the directory probably triggered the system to shutdown and 
> restart anything that had been in there). I don't know if it runs the 
> contents on board start-up, or waits for the first user to connect to the 
> Cloud 9 "web-server" address. 
>
>         I don't have enough familiarity with the newer systemd config to 
> help 
> further. The old init run-levels config was easier to work with (for me at 
> least, although it has been a few decades since I had to work with it -- 
> Mandrake v7 [renamed to Mandriva sometime after v10, and then forked to 
> Mageia, so you can see how old it was]). 
>
>         Perhaps modifying the instructions on 
>
> https://dcinglis.wordpress.com/2014/09/08/running-a-startup-script-on-a-beaglebone-black/
>  
> to specify Python would be of use? 
>
> -- 
>         Wulfraed                 Dennis Lee Bieber         AF6VN 
>     [email protected] <javascript:>    HTTP://wlfraed.home.netcom.com/ 
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/119ee29d-6be6-4e8c-b62a-d60a89ffcb17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to