Fwd: Re: how to run a command at startup
--- Bruce Burhans <bburhan1@earthlink.net> wrote:
> From: "Bruce Burhans" <bburhan1@earthlink.net>
> To: "Larry Smith" <doccpu@yahoo.com>
> Subject: Re: how to run a command at startup
> Date: Mon, 19 Aug 2002 21:55:19 -0700
>
>
> Anything I want to happen at startup, I put
> in
> my .bashrc file (making sure that .bash_profile
> is
> pointed to it by uncommenting the relevant line
> there.)
> You can always have it access a file anywhere
> by
> writing in " source pathname."
>
>
> I run Woody 3.0.
>
> Bruce<+>
>
>
>
>
>
>
>
> ----- Original Message -----
> From: "Larry Smith" <doccpu@yahoo.com>
> Newsgroups: linux.debian.user
> Sent: Monday, August 19, 2002 4:00 PM
> Subject: Re: how to run a command at startup
>
>
> > In response:
> >
> > --- Christoph Hoenscheid <hoeni@ureach.com> wrote:
> > > Hello Debian Users!!
> > >
> > > Please be so kind and help me with my debian
> 3.0r0
> > > installation. Just tell me what must I do to
> have
> > > the
> > > command "/sbin/route del default" run
> immediately
> > > after the
> > > system has booted. There is no "rc.local"
> avaialble
> > > and also
> > > no "/etc/sysconfig/network" like in Redheat. The
> > > default
> > > gateway is always set to sl0 when the sytem
> boots,
> > > but I never
> > > need sl0. I need ppp0 to be set as the default
> > > gateway when a
> > > connection is established, but this only happens
> if
> > > there is no
> > > default gateway set. In
> "/etc/network/interfaces"
> > > the sl0
> > > device does not appear. The command "/sbin/route
> del
> > > default"
> > > resolves the problem very well, but I don't how
> to
> > > have it
> > > executed automatically and I don't know how to
> write
> > > a debian
> > > rc-script. Is there no configuration file where
> I
> > > can simply
> > > insert this command?
> > >
> > > Thank You in advance!
> > >
> > >
> > > Christoph
> > >
> >
> >
> > I'm still on Potato, but I suspect it is similar.
> > Potato also doesn't use rc.local as my old Redhat
> did.
> > However, there is an /etc/rcS.d directory in
> Potato
> > with init files that are ran just prior to being
> > prompted. I use the S55bootmisc.sh file for my
> last
> > minute boot up commands, seems to work fine.
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > HotJobs - Search Thousands of New Jobs
> > http://www.hotjobs.com
> >
> >
> > --
> > To UNSUBSCRIBE, email to
> debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> >
>
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
Reply to: