LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-10-2004, 08:47 PM   #1
j.vilon
Member
 
Registered: Sep 2004
Posts: 168

Rep: Reputation: 30
boot on startup


where i put anyone file to start up on boot on debian? like rc.local

i dont have this on debian
anyone help me please?
 
Old 09-10-2004, 09:02 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: boot on startup

Quote:
Originally posted by j.vilon
where i put anyone file to start up on boot on debian? like rc.local

i dont have this on debian
anyone help me please?
Startup files go into /etc/init.d/ and you either make links yourself in the /etc/rc?.d/ directory or use update-rc.d to create them. You replace the ? with the runlevel you wish to start (2-5) the file in with 2 being the default in Debian. An example of the command from the man page update-rc.d foobar start 20 2 3 4 5 . stop 20 0 1 6 . this starts the script foobar in 2, 3, 4 and 5 then stops in 0, 1, and 6 on shutdown note the periods in the command are important you can get the same result by using update-rc.d foobar defaults all this as root of course.
 
Old 09-11-2004, 12:55 AM   #3
j.vilon
Member
 
Registered: Sep 2004
Posts: 168

Original Poster
Rep: Reputation: 30
where i see my runnivel?
tks
 
Old 09-11-2004, 01:11 AM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by j.vilon
where i see my runnivel?
tks
The /etc/inittab look at default runlevel it should be set to 2 and in Debian runlevels 2-5 are configured identically when software is installed unless you change them.
 
  


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
eth1 will not boot at startup vihunter Linux - Networking 2 08-02-2005 04:04 PM
Startup Daemon on Boot EuroJovi Linux - Newbie 4 01-09-2004 10:39 AM
samba startup at boot snocked Slackware 5 10-07-2003 10:03 AM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM
PFTPD startup on boot bripage Linux - Networking 6 04-02-2002 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:47 PM.

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