ts-7000
[Top] [All Lists]

RE: [ts-7000] TS7260 - How to stop script that loads at bootup and gets

To: "" <>
Subject: RE: [ts-7000] TS7260 - How to stop script that loads at bootup and gets stuck
From: "Russell N. Nelson - rnnelson" <>
Date: Tue, 2 Oct 2012 17:47:06 +0000


That trick doesn't work if he's botched an /etc/init.d script. Init runs its scripts serially, in numbered order. We've stuck with that system for, oh, about the last twenty years. What makes more sense, and what newer Linux distributions use, is a system with dependencies, like 'make'. Init scripts then get run in parallel, marshalled only as needed to ensure that prerequisites get run first. In a system like that, as long as no other script relied on Daragon's script, it wouldn't stop the booting.

Only solution is to mount the SDcard on a Linux machine, and remove the script symlink from /etc/init.d/rc*.d. If no Linux machine is nearby, download an Ubuntu CD and boot off of it.
 

From: on behalf of Joel Morgan
Sent: Tuesday, October 02, 2012 1:33 PM
To:
Subject: [ts-7000] TS7260 - How to stop script that loads at bootup and gets stuck




On Oct 2, 2012 11:05 AM, "hec85aragon" <> wrote:
>
>  
>
> Hello, I made a silly mistake with my TS-7260. I ran a script that loads an executable program from an SD card right after bootup. However, I failed to notice that it tries to mount the SD card before the SD driver is loaded (It is loaded manually with "modprobe sdcard-sdhc.o"). The original sdcard.o driver was removed. Of course, the SD card never gets mounted on the device, thus the executable is not found.
>
> The problem is that the call to run the executable is within an infinite loop, so the script gets stuck eternally as it never finds the executable program. Since the script runs right after bootup I don't have access to the prompt anymore, and have no way to modify the script or to stop it. Ctrl+C doesn't work.
>
> Is there another way to stop the script? or prevent it from executing?
>
> I'd really appreciate any help on this because I can't use my ts7260 at the moment.
> Thanks in advance.
>

Telnet into the device, then make the necessary changes.

-jr





__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU