PDA

View Full Version : Startup Editor Command


ywu
10-16-2006, 05:50 PM
I'd like to run the automated 30 second skip script which works fine from the bash prompt, but doesn't work from the rc.sysinit.author file:

/var/hack/30sec.tcl

Do I need to put the "&" and more after it? I doesn't seem to work even with that, or:

-auto >> /dev/null &

or

>/dev/null 2>&1 &

and as a linux newbie, I haven't a clue what they all mean. I'm adding these within Tivowebplus and Startup Editor.

thanks.

...coolstream
10-16-2006, 05:59 PM
I have the following all on one line

/var/hack/scripts/30sec.tcl >/dev/null 2>&1 &

When the tivo restarts, allow time for the command to execute. (It will appear as if an invisible user is going into your 'Now Playing' folder and pressing a few buttons before coming back out again)

sanderton
10-16-2006, 06:27 PM
Use the tivoapp patch; it's more reliable.

dickp
10-17-2006, 10:13 AM
Just FYI:

"-auto" would be an option understood by the command
"> /dev/null" means throw away all standard output messages (redirected to the bit bucket)
">> /dev/null" means the same thing, but if you were redirecting to a file instead of a black hole it wouldn't delete the existing content first. Useful for logging output.
"2>&1" means send standard error messages to the same place as standard out (ie in this case /dev/null)
"&" at the end means run the whole command in the background, so that the rest of the script will run without waiting for 30sec.tcl to finish. Some commands will do this for you.

RichardJH
10-20-2006, 04:57 PM
Use the tivoapp patch; it's more reliable. posted by Sanderton.

I have downloaded the 30sec patch but am unsure as to how to apply, can't find any instructions. Can anyone help. :confused: :confused:

Richard

sanderton
10-21-2006, 05:20 AM
Sorry, I did it manually with a hex editor!

RichardJH
10-21-2006, 07:26 AM
Sanderton thanks for reply. In the end I am going to leave hackman dealing with booting the 30 sec skip. What I never realised is hackman allows you to toggle between the 30 sec skip and normal use of same button