need for help



my system paralysis cause by bash can not be work after edit the
profile.d ,i just want configure the jdk and tomcat path.

how can i initialization the boot mode for example (1-6) in the system
startup;
i have usesd fedora 7;

.