Re: How to set up a HUSH script to run at boot (mit-out das U-Boot rebuildung)
Steve Strobel <[email protected]>
| Newsgroups | gmane.linux.uclinux.devel |
|---|---|
| Message-ID | <CAGrmWbyKx=cJ011UnpY7P5Hs5=fc3SO=s9fMVrO10XnOyf46gA@mail.gmail.com> |
On Fri, Jan 31, 2014 at 3:33 PM, Eric Fowler <[email protected]> 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:[email protected] _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev