[PD] is /etc/rc.local the script that runs on boot?

Ingo ingo at miamiwave.com
Fri Feb 6 14:20:58 CET 2015


Did you check if rc.local is executable?

 

Ingo

 

  _____  

Von: Pd-list [mailto:pd-list-bounces at lists.iem.at] Im Auftrag von Alexandros
Drymonitis
Gesendet: Freitag, 6. Februar 2015 13:59
Cc: pd-list at lists.iem.at
Betreff: Re: [PD] is /etc/rc.local the script that runs on boot?

 

 

 

On Fri, Feb 6, 2015 at 1:46 PM, Simon Wise <simonzwise at gmail.com> wrote:

rc.local runs as root ... to launch pd use:

sudo -u pi -i pd -nogui -noaudio -nomidi /share/master.pd &

I don't get the /share/master.pd what is it supposed to do in this command? 


or similar, here pi is the user, the & means pd runs in the background.

I usually keep a script at /share/initialise then call it as user pi, it
makes it a lot easier to keep different projects ans swap between them.

there's no /share/initialise file or directory... should I create it? And
then should I put my script there and call it from rc.local? For example
'sudo -u pi -i sh /share/initialise/launch_pd.sh' is any good (supposing I
write a script called launch_pd.sh which launches Pd and open the desired
patch...)?

I put 'sudo -u pi -i /usr/local/bin/pd -nogui -open
~/pd_patches/load_test.pd' in rc.local but again it didn't work... 



Simon


_______________________________________________
Pd-list at lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150206/655ac129/attachment-0001.html>


More information about the Pd-list mailing list