LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2004, 08:30 PM   #1
pjpeter
Member
 
Registered: Sep 2004
Distribution: Debian Sarge RC1 Kernel 2.6.7.1
Posts: 46

Rep: Reputation: 15
Adding Boot Commands


Hi I'm on Debian Sarge, I need to ad a bunch of commands that should run after I select Linux from my LILO Menu and before X-Window starts. How would I go about doing that?

ie. one of the commands I need to add is /sbin/modprobe evdev

Thanks,
Peter
 
Old 09-23-2004, 09:09 PM   #2
pjpeter
Member
 
Registered: Sep 2004
Distribution: Debian Sarge RC1 Kernel 2.6.7.1
Posts: 46

Original Poster
Rep: Reputation: 15
Anyone? I read somewhere that for other Distros they use an rc.local file or something like that to get this done. Is there something like that in Debian that I can use?

Peter

Could I need to edit /etc/modules ? (not modules.conf) ? Where should I stick in the command 'modprobe endev' ?

Last edited by pjpeter; 09-23-2004 at 09:12 PM.
 
Old 09-23-2004, 10:04 PM   #3
JrLz
Member
 
Registered: Mar 2004
Location: Jakarta
Posts: 164

Rep: Reputation: 30
maybe you can find like something liek rc.S or rc.x where x is the init your system is using.
 
Old 09-23-2004, 11:42 PM   #4
pjpeter
Member
 
Registered: Sep 2004
Distribution: Debian Sarge RC1 Kernel 2.6.7.1
Posts: 46

Original Poster
Rep: Reputation: 15
Sorry, what do yu mean by 'init'?

Peter
 
Old 01-24-2005, 04:45 AM   #5
JrLz
Member
 
Registered: Mar 2004
Location: Jakarta
Posts: 164

Rep: Reputation: 30
init?
I don't know what the definition of init is..............
it's the mode/level your system is running on..........
you can find something about init in file /etc/inittab

when you boot your system, it will run into the default init.
the default init is configured in /etc/inittab also....
 
Old 01-24-2005, 05:27 AM   #6
d00msweek
Member
 
Registered: Jan 2004
Location: Cebu City, Philippines
Distribution: Slackware 10,Gentoo 2005.1,LFS
Posts: 92

Rep: Reputation: 15
JrLz : You mean, runlevel ?
 
Old 01-25-2005, 08:10 PM   #7
JrLz
Member
 
Registered: Mar 2004
Location: Jakarta
Posts: 164

Rep: Reputation: 30
Yes, that's right....................
 
  


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
adding my own commands to rc files SizofreNICK Slackware 8 11-07-2004 02:30 AM
adding commands to /bin (root user) xone Linux - Software 4 03-23-2004 12:26 PM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 03:52 PM
adding commands? megaman Linux - Newbie 2 12-20-2003 03:57 PM
Adding xgamma commands to startup on RH8 HellBound Linux - Software 2 03-12-2003 08:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:33 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