LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 12-27-2003, 03:36 PM   #1
legolin
Member
 
Registered: Dec 2003
Location: munich
Distribution: Fedora Core 4
Posts: 141

Rep: Reputation: 15
how to auto start services at startup in debian?


hi

im using woody and i whant to start apm automatically at startup. the problem is, that the system does not power off after shutdown.

if i start apm manually with /sbin/modprobe apm, the system goes really down after shutdown ;-)

i need to know where i can control the services at startup.


thanx

legolin penguin

 
Old 12-27-2003, 04:00 PM   #2
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Rep: Reputation: 30
You could put a line in /etc/rc.d/rc.local like:

/sbin/modprobe apm

Or you could just edit /etc/modules.conf so the module is loaded automatically.
 
Old 12-28-2003, 02:31 AM   #3
legolin
Member
 
Registered: Dec 2003
Location: munich
Distribution: Fedora Core 4
Posts: 141

Original Poster
Rep: Reputation: 15
hi,

thankx for your fast answer. i steel have a problem.
i don't have any /etc/rc.d/rc.local script in my woody box. under redhat there is one. should i create one and put this line in it? is it going to be run as root?.

in modules.conf i found the line
#DO NOT MODIFY THIS FILE!
what means it is not a good idea to do it. or , should i?


have a nice day!

legolin pinguin
 
Old 12-28-2003, 10:02 AM   #4
tokkee
Member
 
Registered: Dec 2003
Distribution: Debian, OpenBSD
Posts: 46

Rep: Reputation: 15
Quote:
Originally posted by legolin
i don't have any /etc/rc.d/rc.local script in my woody box. under redhat there is one. should i create one and put this line in it? is it going to be run as root?.
simply creating a /etc/rc.d/rc.local script in woody won't help, since this is a redhat (and afaik suse) specific thing. what you need to do, depends on what you really want to do. 'man init' is probably a good starting point for you.


Quote:
Originally posted by legolin
in modules.conf i found the line
#DO NOT MODIFY THIS FILE!
what means it is not a good idea to do it. or , should i?
editing this file, probably won't help much either. simply add a line with 'apm' to /etc/modules will help


cheers
 
  


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
start services at startup automatically merlin23 Linux - Newbie 10 06-30-2013 04:48 AM
How do I auto start modules that aren't auto loaded on boot? darkbluedrew Debian 2 09-18-2005 09:10 AM
eth0 Auto Connect, How to auto start on logon cornish Linux - Networking 2 05-09-2005 12:02 PM
Can someone tell me what services need to be selected for auto-startup for Samba fs? RedHatMasta Linux - Networking 5 02-02-2004 04:09 PM
How to auto-start services on boot? Neorio Linux - General 4 11-05-2003 04:52 AM


All times are GMT -5. The time now is 06:32 PM.

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