PDA

View Full Version : flawless upgrade! One little question



JustinD
08-12-2006, 10:43 PM
Everything went well - thanks to all that put together everything.

Now my question- in order for Mfs_ftp to run on reboot I put a line in the rc.sysinit.author file previously (or I think I did). Anyway, I went to that file to make the change and there was some language saying I shouldn't touch it. I didn't really understand what it said I should then do. Could someone please help me so that Mfs runs on reboot? What is the correct way - so someone without much linux experience could understand.

thanks,

JustinD
09-12-2006, 02:06 PM
Subsequent to my first post I did some searching (should have done it first!). Anyway, I understand that I should put the

# MFS FTP DAEMON
/var/mfs_ftp/mfs_ftp.tcl &

in /etc/rc.d/rc.sysinit.local

The only problem is that I don't seem to have this file -
Am I meant to create it? If so, is there anything special I do?

I just checked the OzTivo site for info and it suggested it should be there under the new image.

thanks,

petestrash
09-12-2006, 07:30 PM
I missed your original message somehow.

But you have worked out what is needed

Use joe or vi to create a new /etc/rc.d/rc.sysinit.local

eg:
rw
joe /etc/rc.d/rc.sysinit.local

Then type:
# MFS FTP DAEMON
/var/mfs_ftp/mfs_ftp.tcl &

And save the file and make read only again (ro).

It will be automatically started after the rc.sysinit.author has finished.

Peter.

JustinD
09-12-2006, 08:21 PM
thanks for the response. I am nearly there.
Basic question - how do I save in joe?

Update - I searched and found out how to save in joe.
I then rebooted, hoping it would then work but it didn't seem to start mfs_ftp.
You mention that I have to wait until rc.sysinit.author finishes. Should this have happened already?

thanks

petestrash
11-12-2006, 02:46 AM
I forgot to tell you to chmod the file, so it probably didn't run.

chmod 777 /etc/rc.d/rc.sysinit.local

Peter

JustinD
11-12-2006, 06:06 AM
thanks. I have just chmod it to x. I will do a reboot later tonight to see how it goes.

petestrash
11-12-2006, 01:54 PM
Cool

Peter.