LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-18-2004, 04:38 PM   #1
predator.hawk
Member
 
Registered: Aug 2004
Location: USA
Distribution: FreeBSD-5.4-STABLE
Posts: 252

Rep: Reputation: 30
SysV Init


Right now i'm trying to build an installer for my firewall, yet because I don't use SysV Init i can't set it up to work on SysV init systems. I'd like to Know what i have to do to start a script at boot time on Mandrake and Fedora.

~predator.hawk
 
Old 10-21-2004, 11:10 AM   #2
vrln
Member
 
Registered: Mar 2004
Location: Finland
Distribution: Gentoo
Posts: 235

Rep: Reputation: 30
as far as I know:

The init scripts themselves are in /etc/init.d. The scripts which run at each runlevel are in /etc/rcX.d (replace X with the runlevel number). For example if you go to /etc/rc3.d you will find symlinks like SXX.firewall (or KXX.firewall) which points at /etc/init.d/firewall (replace XX with 2 numbers). S means start and K kill, so for example the shutdown runlevel would have lots of KXX.something symlinks, and the default runlevel would have lots of SXX.something symlinks. The XX number tells in which order the script will run.

(note: Im no sysv init expert so I might be wrong, if I am, someone please correct me)
 
Old 10-21-2004, 08:41 PM   #3
predator.hawk
Member
 
Registered: Aug 2004
Location: USA
Distribution: FreeBSD-5.4-STABLE
Posts: 252

Original Poster
Rep: Reputation: 30
Thanks, I can at least write out a guide for systems that way .
 
  


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
SysV-init Editor Setup jimbo-62 Slackware 8 08-16-2005 02:15 AM
what are the correct path for ksysv, the SysV-Init Editor? Xavius Slackware 1 01-01-2005 04:11 PM
sysV-init editor issue with kde 3.2.1 jsmarshall85 Slackware 3 04-18-2004 11:21 PM
SysV-Init Editor Questions odin123 Slackware 3 11-16-2003 09:21 AM
Non-SysV INIT Distros Artimus Linux - Distributions 3 04-28-2003 03:18 PM

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

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