Pyload auto start problem + reconfig

Post new topic   Reply to topic    DD-WRT Forum Index -> ARM or PPC based Hardware
Author Message
FireStorm@
DD-WRT User


Joined: 12 Mar 2018
Posts: 88

PostPosted: Wed Aug 21, 2019 17:17    Post subject: Pyload auto start problem + reconfig Reply with quote
Hi

I installed pyload (via USB Entware) but have the following two problems.

Problem 1:
It only works if I connect via putty and enter "pyload"

so pyload starts and it works. As soon as I close the putty console it stops working.

Is there any chance that I add in command line (dd-wrt interface) a code / script so that pyload start after every reboot.

Problem 2:
Whenever I start pyload via putty it says I have to configure pyload for the first time, although I already did many times before.


I added already the following command SAVE STARTUP (see attachment)

sleep 10
/opt/etc/init.d/rc.unslung start
Sponsor
FireStorm@
DD-WRT User


Joined: 12 Mar 2018
Posts: 88

PostPosted: Thu Aug 22, 2019 7:53    Post subject: Reply with quote
Hi for everyone who has the same issue. I fixed it with the following commands:

sleep 10
/opt/etc/init.d/rc.unslung start

if [ -f /mnt/sdb1/pyload.enable ]; then
sleep 4
/opt/usr/bin/python /opt/usr/share/python/pyload/pyLoadCore.py --configdir=/tmp/root/.pyload --daemon
else
exit
fi


Of course, adjust the sdb1 based on which drive you use!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> ARM or PPC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum