[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Daft newbie help. Boot stuff.



Brian Skreeg Brian Skreeg wrote:
> 
> Hi Brian,
> 
> >       Hi clever peeps.
> >       I'm quite new to debian and linux in general but have been doing
> > exectionally well for a first timer. Even managed to get X installed and
> > recompile and install a kernel with sound support. :) Clever eh?
> >       Anyway, the problem I'm having just now is a simple one. Where do I
> > put commands that I want executed at startup? For example. I need to set my
> > hostname for my ppp dial-up stuff. Having a text file in /etc called
> > HOSTNAME containing my hostname isn't good enough. I need to run the
> > command "hostname fishtech.u-net.com" like so. What file to I place this in
> > so it is run everytime the machine boots? I've read several documents and
> > book but they all seem to point to a mythical rc.local file that doesn't
> > exist in the Debian setup. Debian seems to do it's whole rc.d thing a lot
> > differently from other distributions.
> >       Also how do I set certain EnvVars at startup?
> >
> > TIA,
> >
> > Ozzy,
> >
> >    __ _ _
> >   /  \ \ \
> >  / / / / / |-Brian Skreeg--------IRC:_Ozzy-|
> >  \__/  \ \ |-Lead guitarist extraordinaire-|
> >     \__/_/ |-I don't look like two zombies-|
> >

All your local configuration files which are run at boot are in
/etc/init.d/.  

Hope that helps,
Christian Watts
-- 
------------------------------------------------------------------------
#include <stddisclaimer.h>
#include <MyBiasedOpinions.h>

cmwatts@telepath.com
Linux - Why use windows when there is a door?
Uptime(LinuxSystemDoingTaskA) >= Uptime(WindowsSystemNotDoingADamnThing)
(c) 1996 Christian Watts Redistribution via the Microsoft Network
Prohibited.

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: