Adding sym links to scripts into rc<number>.d folders to start process during system startup
I am using fedora 15.

I am trying to add MYSql daemon to start during system strtup.

I have understood that I will have to add it to `rc5.d` as it is the default target & is `graphical.target`.

from `inittab`:

>systemd uses 'targets' instead of runlevels. By default, there are two main targets:
>
 multi-user.target: analogous to runlevel 3<br/>
 graphical.target: analogous to runlevel 5


From [An introduction to services, runlevels, and rc.d scripts ][1]:
>When the system is shut down, there is another symlink in the /etc/rc0.d and /etc/rc6.d directories (halt and reboot, respectively) that starts with a K instead of an S, which tells init to shut down the process.

I notice that links to `httpd` are present in all the `rc<number>.d` folders 
as link: _`K15httpd -> ../init.d/httpd`_.
No link is present that starts with _`S`_. Makes sense as I have to start it manually.

>+ Why is the link _`K15httpd -> ../init.d/httpd`_ present in all the _`rc<number>.d`_ folders?<br/><br/>
+ What should I name the link if I want to start _httpd_ during system startup?<br/><br/>
+ What is the number that is present in the link? i.e. _K15httpd -> ../init.d/httpd_ what is _15_ here?<br/><br/>
+ I read ([here][2]) that the link to _MYSql_ should be _S98mysql_ is it right and what should the name to link that starts with _K_ should be?

[1]: https://www.linux.com/news/enterprise/systems-management/8116-an-introduction-to-services-runlevels-and-rcd-scripts
[2]: http://forums.devshed.com/mysql-help-4/how-to-start-mysql-at-boot-time-in-linux-2267.html
Adding sym links to scripts into rc<number>.d folders to start process during system startup
===

I am using fedora 15.

I am trying to add MYSql daemon to start during system strtup.

I have understood that I will have to add it to `rc5.d` as it is the default target & is `graphical.target`.

from `inittab`:

>systemd uses 'targets' instead of runlevels. By default, there are two main targets:
>
 multi-user.target: analogous to runlevel 3<br/>
 graphical.target: analogous to runlevel 5


From [An introduction to services, runlevels, and rc.d scripts ][1]:
>When the system is shut down, there is another symlink in the /etc/rc0.d and /etc/rc6.d directories (halt and reboot, respectively) that starts with a K instead of an S, which tells init to shut down the process.

I notice that links to `httpd` are present in all the `rc<number>.d` folders 
as link: _`K15httpd -> ../init.d/httpd`_.
No link is present that starts with _`S`_. Makes sense as I have to start it manually.

>+ Why is the link _`K15httpd -> ../init.d/httpd`_ present in all the _`rc<number>.d`_ folders?<br/><br/>
+ What should I name the link if I want to start _httpd_ during system startup?<br/><br/>
+ What is the number that is present in the link? i.e. _K15httpd -> ../init.d/httpd_ what is _15_ here?<br/><br/>
+ I read ([here][2]) that the link to _MYSql_ should be _S98mysql_ is it right and what should the name to link that starts with _K_ should be?

[1]: https://www.linux.com/news/enterprise/systems-management/8116-an-introduction-to-services-runlevels-and-rcd-scripts
[2]: http://forums.devshed.com/mysql-help-4/how-to-start-mysql-at-boot-time-in-linux-2267.html