Re: Is There a Bug in the Autorun Software?

36 views
Skip to first unread message
Message has been deleted

Dennis Lee Bieber

unread,
Sep 21, 2017, 12:48:29 PM9/21/17
to beagl...@googlegroups.com
On Wed, 20 Sep 2017 20:55:59 -0700 (PDT), Mala Dies
<fun...@gmail.com> 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
wlf...@ix.netcom.com HTTP://wlfraed.home.netcom.com/

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages