ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: starting programs in linuxrc on the 7800

To:
Subject: Re: [ts-7000] Re: starting programs in linuxrc on the 7800
From: "Paul A. Bennett" <>
Date: Tue, 30 Mar 2010 16:25:44 -0400


Hi Patty!

You might already have tried this...

Sometimes when things don't happen that I expect to happen, it's because the device is actually using another file than what I think it is.  It might be useful to put a few 'echo' statements into your script so that you can be sure you're actually using the right file.

Another thing to try is to change the top line of your linuxrc file to read '#!/bin/sh -x' so that you can actually follow through the execution of the script.  (As you go along, you can toggle the behaviour with '-x' and '+x'.

If either you don't see the output from your 'echo' statements or you don't see the 'debugging' output from your script, you're likely executing a file other than the one you've been editing.

Again, apologies if these suggestions are too simplistic for where you're at.

All the best!

Paul



pattykirsch wrote:
 

Nope, same behavior with the nohup.

--- In .com, "Harold" m("...","HDewar");"><> wrote:
>
> I do not use the busybox environment, so this is just a guess, but maybe your programs are being terminated by SIGHUP. Try starting them with nohup.
>
> --- In .com, "pattykirsch" <kirsch@> wrote:
> >
> > I'd like to run my programs in the busybox environment on startup. I've seen several references to just editing the linuxrc file, but I can't get it working.... I've got them in /home/eclipse on the full image, and I can run them from the busybox command line. I've put the command into the linuxrc file, but they don't start. No error messages either.
> >
> > The commands are of the form
> > /mnt/root/home/eclipse/executable &
> > these work on the command line once it shows up. I've tried putting them between the network setup block, and the shinit block, and also inside the shinit block. I can get echos to output both before and after the commands to start.
> >
> > Any advice?
> >
>


--


Paul A. Bennett
27 Rockway Crescent,
Unit 4,
Nepean, Ontario, Canada
K2G 0M3

SKYPE:
paul_a_bennett

Voice:   +1-613-820-7249
Cell:      +1-514-812-PAUL (7285)
Fax:       +1-613-820-4506
E-Mail: m("rogers.com","paul_a_bennett");">


__._,_.___


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