Loading ...
Sorry, an error occurred while loading the content.

Re: Starting a local program at boot time on Unslung?

Expand Messages
  • braydw
    ... wrote: Thanks Mike -- I wanted to do it right. -- David ... provide for ... passed in ... corresponding ... rc.local.
    Message 1 of 3 , Sep 27, 2006
    • 0 Attachment
      --- In nslu2-linux@yahoogroups.com, "Mike \(mwester\)" <mwester@...>
      wrote:
      Thanks Mike -- I wanted to do it right.

      -- David

      >
      > Yes, absolutely -- that's exactly what the Snn* scripts are designed to
      > do -- provide an easily-managed way to add startup scripts, and
      provide for
      > ordering of the startup.
      >
      > The Snn* mechanism used by Unslung is similar to the standard Linux
      > mechanism, but it currently lacks the arguments that are usually
      passed in
      > ("start", "stop", "restart", etc), and it does not support the
      corresponding
      > Knn* scripts that are used to shut down services.
      >
      > Mike (mwester)
      >
      > ----- Original Message -----
      > From: "braydw" <braydw@...>
      > To: <nslu2-linux@yahoogroups.com>
      > Sent: Wednesday, September 27, 2006 9:49 AM
      > Subject: [nslu2-linux] Starting a local program at boot time on Unslung?
      >
      >
      > > I want to start my weather station software after bootup is finished.
      > >
      > > I would normally run it by entering its command at the end of
      rc.local.
      > > However, as best I can tell on unslung after rc.local runs then
      > > /opt/etc/init.d executes the S00xxx S01xxx routine etc. One of them,
      > > S10usbserial, must be executed before I start my program.
      > >
      > > Should I create a S99xxx to start the weather station program or is
      > > there a better way to start programs after the entire bootup process
      > > is finished?
      > >
      > > Thanks for your help.
      > >
      > > -- David
      > >
      > >
      > >
      > >
      > >
      > >
      > > Yahoo! Groups Links
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.