Quantcast
Channel: [EN] OpenPLi Third-Party Development
Viewing all articles
Browse latest Browse all 1699

djmount not starting at boot

$
0
0

Hello,

I've recently got a Vu+ Solo for my young kid to stream his cartoons from the NAS and I've flashed OpenPli because it is lighter and doesn't have so much extra stuff as default.
I have installed the DLNA-browser plugin and djmount initscript is supposed to start at S20 (default).

 

It doesn't or maybe it dies (no pid, no /media/upnp). Nor does it if moved at S90.

The same /etc/init.d/djmount script does work when launched from shell and /media/upnp is populated (actually there is a problem with restart, it doesn't wait enough after stopping the service but this is another issue...).

The issue seems a race: curiously adding VERBOSE=yes to /etc/default/rcS is already enough to delay things a bit so that djmount initscript is executed w/out errors. This workaround is not the solution, let say it works 70% of the times/reboots.

 

Is some sleep() necessary in the script? Some more checks (i.e. NET is up)?

 

Regards

A.A.


Viewing all articles
Browse latest Browse all 1699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>