LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-23-2004, 06:13 AM   #1
vanhelsing
Member
 
Registered: May 2004
Posts: 130

Rep: Reputation: 15
Init file?


I used to set some command in a "init file" ( I mean file that execute when boot time)
I want to change some thing in that file but I forgot that file's name
Could u list me all of "init file"?
I don't sure ,file that execute when boot whether called "Init file"

Regards
"Dont know anything about Linux"
 
Old 08-23-2004, 06:31 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
The first program to be started is init, which in turn reads /etc/inittab.

inittab is not a script but rather a table; it lists the scripts to be run in order to start the boot process. This is a good place to start looking.

Usually, you will first run a script called boot (usually in /etc/rc.d or /etc/init.d), which sets up important things and then calls boot.local (in the same directory) where you can put anything you want to start right when the computer starts.

It then brings up all of the various services that you need for the runlevel you're using (things like networking, web/email servers, proxies, firewalls, etc.).

It then calls rc.sysinit (again, usually in /etc/rc.d or /etc/init.d), to set up important system things that need to be run after services have been started. This in turn calls rc.local, where you can put things you want to run just after booting.

That said, it's not all carved in stone. Your best bet is probably to open /etc/inittab and trace the boot process from there.

Hope that helps,

— Robert J. Lee
 
Old 08-23-2004, 08:06 AM   #3
vanhelsing
Member
 
Registered: May 2004
Posts: 130

Original Poster
Rep: Reputation: 15
Thank you,Robert J. Lee

I can find that file by yr help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I recover my init.d file. davis14 Linux - Newbie 2 08-22-2005 11:03 AM
INIT.D File deleted from /etc folder deepa_ram Linux - General 1 02-28-2005 10:54 AM
INIT: no innitab file found behmjose Linux From Scratch 3 12-17-2003 05:17 AM
how can I get the /etc/init.d/httpd file? ziggie216 Linux - Software 2 11-29-2003 11:07 PM
problem with INIT File (not found) in Slack9 (2.4.20) a2gs Slackware 2 08-14-2003 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration