No. Sorry but you are not doing this the "right" way.
Ugly hacks are OK (it's your machine), but it is better to follow the agreed "right way" (even though this changes all the time
If you read the files in /etc/rc.d
you'll see they are all shell scripts relating to services that expect an argument like start stop
What they then do depends on the argument they are passed.
you'll see rc0.d rc1.d ... rc6.d rcS.d
is for "Single user" or "Rescue mode". The other numbers refer to "runlevels"
Within these rcX.d
directories are (or are not) symbolic links to the files in /etc/rc.d/
Whether there is a link or not, depends on whether you want a particular service to start or stop in that runlevel.
Runlevel 0 is generally halt
Runlevel 3 or 5 is generally "Run X and a GUI" (it very much depends on your distro)
The other levels are even more distro-dependant.
You could make all these symlinks yourself. It might take you some time.
Better is to read the link I gave you in the post above and learn to use either a GUI application to help you, or the CLI:
chkconfig --level 345 squid on
That means that squid
will be started at boot for runlevels 3, 4 and 5
You need to do a bit more homework, then it'll all become clear.
"Allll right! I get it now, it's a sensible system".
Have fun. report back.