On Fri, Jan 31, 2014 at 3:33 PM, Eric Fowler <eric.fow...@gmail.com> wrote:

> I have a set of HUSH commands that I wish to have read in every time I
> boot, much like a .bashrc file on grownup Linux.
>

On my uClinux system, /etc/rc gets executed automatically on startup.  I
call a variety of other scripts from there.  When uClinux (with my apps,
all of the libraries, etc) gets built, those other scripts get copied from
vendors/.../my_target/... on the dev machine so they end up in /etc/ on the
target.  Note that anything you call from there either needs to exit
quickly or be run in the background (such as with a trailing '&') or you
won't get a root:~> prompt.

Steve


-- 
Steve Strobel
Link Communications, Inc.
1035 Cerise Rd
Billings, MT 59101-7378
(406) 245-5002 ext 102
(406) 245-4889 (fax)
WWW: http://www.link-comm.com
MailTo:steve.stro...@link-comm.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to