PDA

View Full Version : What happen to rc.sysinit.author?


tim2009
10-30-2003, 12:47 AM
I am very confuse about this file. Everytime I modify this file, use zmodem (binary mode) to transfer it back. I do a Cat command to make sure it is the right file and then I do this in the file directory:

chmod 777 rc.sysinit.author

but after I restart (type reboot), it will tell me this:
/etc/rc.d/rc.sysinit: /etc/rc.d/rc.sysinit.author: No such file or directory

I do a ls on that directory, it will show:
-rwxr-xr-x 1 0 0 929 Dec 27 1994 rc.sysinit.author

Using this set:

chmod 755 rc.sysinit.author

will also produce the same result. What is happening? The file is exactly where it should be. The only way for it to work now is this:

Cat > rc.sysinit.author

<copy and paste the line in>

Ctrl D

chmod 755 rc.sysinit.author

restart

The file will be recognized and everything will be fine no matter how many time I restart it. I am very confuse. Can anyone help?

Thanks.

BubbleLamp
10-30-2003, 12:55 AM
zmodem doesn't always work when overwriting a file. If you delete or rename the file on the Tivo before you send the new one, then it should work.

Also, if you are editing on a PC, you MUST save the file in *nix format, not DOS. That means either using an editor that can save in that format, or using DOS2UNIX to convert it.

or

Learn how to edit it on the Tivo and avoid the problem. :D

tim2009
10-30-2003, 05:53 AM
Thanks for the reply. After many attempt to transfer, I decide to just type the whole thing (after deleteing the original file) using the cat command. Cmod and reboot, work like a charm. A hard lesson to learn: always cmod 777 or 755 after modifying the rc.sysinit.author.