LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-20-2004, 02:00 AM   #1
jogurt666
Member
 
Registered: Nov 2003
Location: Poland => Mazowieckie => Ok'a
Distribution: Gentoo
Posts: 176

Rep: Reputation: 30
starting applications at boot time


as far as i remember in RedHat there was a file called /etc/rc.local where i wrote commands to be executed during the boot time. there is no such a file in Debian, so how do i execute commands during the boot time
 
Old 01-20-2004, 07:58 AM   #2
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Create init scripts for them. Put them in /etc/init.d. Use update-rc.d to add your init script to the runlevels you want at the priority you want.
 
Old 01-20-2004, 12:46 PM   #3
jogurt666
Member
 
Registered: Nov 2003
Location: Poland => Mazowieckie => Ok'a
Distribution: Gentoo
Posts: 176

Original Poster
Rep: Reputation: 30
so i just have to create /etc/init.d/xxx script and after that update-rc.d. since i'm not familiar with shell scripts, tell me, should i insert desired command in that xxx file?
 
Old 01-20-2004, 11:55 PM   #4
eaglegst
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Woody, Sarge, Sid
Posts: 83

Rep: Reputation: 15
yes, I suppose you have to learn some shell language if you really want to create your own startup script. /etc/init.d/xxx is where the actual script is located on Debian. You got anything particular to run during startup? As far as I know, Debian handles those services and their startup scripts pretty well.
 
Old 01-21-2004, 03:39 AM   #5
jogurt666
Member
 
Registered: Nov 2003
Location: Poland => Mazowieckie => Ok'a
Distribution: Gentoo
Posts: 176

Original Poster
Rep: Reputation: 30
well my ADSL modem doesn't synchronizes on system startup, so i need to synchronize it manually, and than connect manually. that's rather strange i suppose when after logging in as a normal users i have to type su, do do the rest ^^.
 
  


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
Getting rid of unused Gnome applications starting at boot (using KDE) finnjimm Linux - Software 1 07-24-2005 10:53 PM
Starting eth0 at boot time ? Antonius Linux - Newbie 1 01-19-2005 07:27 PM
starting the script at boot time hudy_rob Mandriva 4 12-09-2004 10:29 AM
starting a service at boot time fallen26 General 5 07-31-2004 12:21 PM
Starting X automaticaly at boot time dublinclontarf Slackware 2 04-15-2004 10:00 AM

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

All times are GMT -5. The time now is 05:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration