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

Alexandros Drymonitis adrcki at gmail.com
Sat Feb 7 16:08:30 CET 2015


On Fri, Feb 6, 2015 at 5:12 PM, Claude Heiland-Allen <claude at mathr.co.uk>
wrote:

> On 06/02/15 12:58, Alexandros Drymonitis wrote:
>
>> 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...
>>
>
> ~/ gets expanded by the shell to the contents of ${HOME} before the sudo
> command is even executed, so it's going to be root's home, usually /root -
> (as recommended by others) launch pd from a script, and specify the full
> path to the script in your /etc/rc.local sudo command (avoid using ~/ or
> ${HOME}).
>
That worked. Claude and Simon, you guys were right about this. Thanks a lot
to all.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150207/950eb8ea/attachment.html>


More information about the Pd-list mailing list