Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Adding scripts to kernel startup
tendonut
post Jan 16 2006, 03:36 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 9
Joined: 3-May 04
Member No.: 2,880



This is an insane Noob question, but I trying to add TeamSpeak and Ventrilo to my startup for run level 3 for Fedora Core 1 and I cannot for the life of me figure out how to do it in the GUI. I have the option in the Services window to add a service, but no matter what I enter it kicks back an error saying the file needed is not found. The location and name of the file for TeamSpeak that needs to be added is "/TeamSpeak2/tss2_rc2/teamspeak-server_startscript". Why am I having such a hard time with this?


--------------------
Master:
Athlon XP 3200+ (400MHz FSB)
nForce2 400 Chipset
1GB Ultra PC3200 DDR-RAM
Onboard 7.1 Dolby Digital Sound
ATI Radeon 9800 Pro 128MB

Server:
Pentium III 1GHz 133MHz FSB
DFI Motherboard
1GB SD-RAM PC133
300GB Linux Drive w/ VFAT Partition
GeForce MX420 64MB

Laptop:
Apple G4 1.33GHz
512MB RAM PC2700
80GB HDD
Onboard Stereo Sound
ATI Radeon 9200 32MB
Go to the top of the page
 
+Quote Post
michaelk
post Jan 16 2006, 04:11 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



Fedora uses Sysv init scripts like:
http://www.redhat.com/docs/manuals/linux/R...tdown-sysv.html

Even though it is Redhat docs Fedora still works the same. The inits scripts have the format of:
http://www.sensi.org/~alec/unix/redhat/sysvinit.html

This script is saved in the /etc/init.d directory. You should now be able to add the service.

Another method if you just want to run the script is to add a line in the rc.local file to execute it. The rc.local script file is last thing to run independent of runlevels.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 13th December 2017 - 07:28 PM