View Full Version : Issues with rc.sysinit.local
JustinD
12-01-2007, 06:00 AM
Based on very useful help here previously I setup rc.sysinit.local to automatically start mfs_ftp when I reboot the tivo. It has worked great, except that I recently added to the file so that it would start the screensaver also. When I did this mfs_ftp no longer automatically starts. Does anyone know what I could have done wrong?
I actually also left a post on the email list regarding this but I think it was a little too cryptic on hindsight.
thanks,
TimesOwn
12-01-2007, 11:26 AM
Why not post your new config?
JustinD
12-01-2007, 01:04 PM
I dont' have access to my config at the moment, but it is pretty much:
# MFS FTP DAEMON
/var/mfs_ftp/mfs_ftp.tcl &
# SCREENSAVER
/hack/tivowebplus/component/screensave -t 60 >/dev/null 2>&1 &
I am not sure what the exact screensave address is, but you get the idea. The screensaver is starting on reboot but not mfs.
TimesOwn
12-01-2007, 06:43 PM
Perhaps installing in the specified directory may help?
/var/hack/bin/screensave -t 60 >/dev/null 2>&1 &
instead of
/hack/tivowebplus/component/screensave?
JustinD
12-01-2007, 08:26 PM
thanks for the thoughts. Someone on the email list worked it out. It was that I needed a blank line in-between the two.
JustinD
10-03-2007, 09:25 PM
I seem to have the same problem again. The local file will not startup mfs_ftp on a reboot. I have checked the file is executable and the screensave module works on it, but mfs. If I manually startup mfs through putty it works (and with the same command)
My local has the following in it:
# MFS FTP DAEMON
/var/mfs_ftp/mfs_ftp.tcl &
# SCREENSAVE DAEMON
/hack/TivoWebPlus/modules/screensave -t 60 >/dev/null 2>&1 &
Any thoughts?
thanks,
petestrash
11-03-2007, 01:56 AM
Try swapping the commands around, or adding a sleep command between them.
Is there anything else you have done recently that would break it?
Peter
JustinD
11-03-2007, 07:34 AM
I swapped the commands and that seems to have worked. Not sure why it stopped working - I have only performed the std updates to the image through the commands. Albeit that its a mystery your suggestion has worked. thanks,
petestrash
11-03-2007, 06:02 PM
The mysteries of PC's :confused:
Peter.
JustinD
15-03-2007, 09:44 PM
Once again it doesn't seem to start mfs_ftp. It did for a day but I had some forced reboots (power turned off) and it is not working, so I start the ftp through putty. I am open to suggestions.....
petestrash
15-03-2007, 11:01 PM
Add the command
sleep 5
between the two commands.
Peter.
JustinD
19-03-2007, 09:47 PM
That seems to have worked - thanks. I will not say its over yet, like last time, though. :cool:
petestrash
19-03-2007, 11:11 PM
If it comes back try increasing the sleep command to 7 to 10
Peter.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.