LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 02-14-2005, 06:46 PM   #1
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Win-Lin equivilants (regkeys, autoexec.bat, config,sys)


Hey
I thought here was as gooder place as any.

Where is good place to add programs to run at startup?
i added program commands /etc/rc.d/rc.local
but the vty terminals stop working untill i kill the program i added to rc.local.

is there somewhere else i can call FAHcore?


What are the linux equilivants of
run, runonce in the windows kernel?
Autoexec.bat in the windows/dos environment?
 
Old 02-15-2005, 08:19 AM   #2
bbk
Member
 
Registered: Jan 2005
Location: Budapest/Hungary
Distribution: knoppix-hdd/debian
Posts: 56

Rep: Reputation: 15
If you want to start daemons or programs to start in the background, check /etc/init.d directory and /etc/rcX.d folders (and run the runlevel program to check your current runlevel). And also check /etc/inittab as init is controlling everything in boot time...
by the way, run and runonce has nothing to do with the Windows kernel.

There are startup-time programs, check them in the mentioned /etc/rcX.d dirs. (They are runlevel based init and stop commands, linked to the scripts residing in /etc/init.d).

There are login-time programs, their control is determined by your shell, e.g. if you are using bash then check .bash_profile (for login shell) and .bashrc (for interactive shell).

So, autoexec.bat can be integrated as the part of the shell scripts mentioned above...

to begin get started with some reading:
man init
man bash

Linux/Unix shouldn't be handled as a click-and-play OS, there are endless possibilities just take a very little time to __understand__ it in the basic, console level.

Hope I could help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Is there an equivalent of autoexec.bat in debian? Akhran Debian 5 09-13-2005 05:58 PM
What is the autoexec.bat and config.sys equivalent of linux lemuel Linux - Newbie 4 12-07-2004 09:34 PM
Autoexec.bat in Linux? sikandar Linux - Software 10 08-31-2003 12:30 PM
Autoexec.bat Equivalent dwpondscum Linux - Distributions 5 06-16-2003 09:51 AM
The Linux version of autoexec.bat ??? Canaris Linux - Newbie 9 05-27-2003 07:35 AM


All times are GMT -5. The time now is 07:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration