Results 1 to 7 of 7
Hi masters,
I am still learning trades in kernel. I am trying to learn the basic of daemon programming. Can any one tell me how can I start a daemon ...
- 12-18-2008 #1Just Joined!
- Join Date
- Oct 2008
- Posts
- 13
How can I automatically start a daemon at boot time.
Hi masters,
I am still learning trades in kernel. I am trying to learn the basic of daemon programming. Can any one tell me how can I start a daemon automatically during boot up. I will be greatfull if anyone post some example code to the above task.
Also what are the other things that you must know when you try daemon programming? Can any one help me?
- 12-18-2008 #2Just Joined!
- Join Date
- Oct 2005
- Location
- India
- Posts
- 23
Hello,
Simply fire an command from root# "nysysv" and check the boxes of the particular services which you desire to start automatically when system reboots.
Sorry I'm ot into programming...
- 12-18-2008 #3Just Joined!
- Join Date
- Oct 2008
- Posts
- 13
Thanks for the quick dual reply....I tried to run the command as you told me to do.But the reply was "command not found". I am using fedora 8 in a kernel 2.6.23.
- 12-20-2008 #4Just Joined!
- Join Date
- Oct 2005
- Location
- India
- Posts
- 23
Oh! Sorry I thought you'r using RedHat. Nevermind. Fire the command "chkconfig --list" first to check onto which runlevel services are on. For ex:
bluetooth 0:off 1:off 2:off 3:off 4:off 5:off 6:off
If your system boots up in cmd line interface; and if you wish to start the services in when system boots up, fire the cmd "chkconfig bluetooth on". This is how it looks,
bluetooth 0:off 1:off 2:on 3:on 4:on 5:on 6:off
- 12-20-2008 #5Just Joined!
- Join Date
- Oct 2008
- Posts
- 13
Thank you jaijai....I tried chkconfig and it works well.........Thank you very much.........
- 12-20-2008 #6Just Joined!
- Join Date
- Oct 2005
- Location
- India
- Posts
- 23
If you have any further problems or queries, kindly let me know and we shall be glad to help.
- 12-20-2008 #7Just Joined!
- Join Date
- Oct 2008
- Posts
- 13
Thank you jaijai.......if I get into trouble again I will surely let you know.


Reply With Quote
