PDA

View Full Version : serviceState 5



infinity
08-28-2001, 12:02 AM
Can someone tell how to apply this script to my sony T60 dirtivo? I am not real hip to linux i have Dylans boot disk? and what directory or folder do i make to put this in or do i? Can i use dylans boot disk to apply it. I need the steps to do this. I have spent hours and have got no where. I would appreciate any help tremendously. Thanks...

#!/bin/bash
#
#################
# No More NagZ! #
#################
#
set serviceState 5
set now [clock seconds]
set stateExpiration [expr ($now / 86400) + 365]

set db [dbopen]
trans { set setup [db $db open /Setup]
dbobj $setup set ServiceState $serviceState
dbobj $setup set ServiceStateExpiration $stateExpiration
dbobj $setup set LastCallStatus $StatusStrings::Succeeded }
dbclose $db




Report this post to a moderator | IP

synthesis
08-28-2001, 08:44 AM
as far as loading/running a script-- read and follow the directions of khmann near the bottom of the 1st page of the fixup thread. The fixup thread is near the bottom of the first page of this forum.

fixup worked great for me. although my tivo is moaning about guide data, it thinks it has successfully made its daily call.

Lure
08-28-2001, 09:32 AM
1. get a bashprompt ( manuals available)
2. prepare the script with dos2unix prog. ( find the prog)
3. pump the script with z-modem to the tivo (use hyperterminal)
4 chmod777 the script ( get some understanding of linux)
5 ./ the script (equevalent of the run command in windows)

if this is a little cryptic: read more.

Jethro
08-28-2001, 03:42 PM
Could you just add the script execution to the TClient file. This way every day it tries to dial out and fails (because of no phone line) it will run the script. I guess it won't work with 2.5 of course but that is a new ballgame.

Glitched
08-28-2001, 08:53 PM
i just use the "send file" option in teraterm pro....i didnt even have to put the script on the tivo drive, works like a charm, i just rerun it every few weeks.....all you gotta have is a bash prompt