Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I think you can rebuild the directory but you would need another system of the same configuration to get the scripts from. I do have to ask why would you delete the init.d directory?
If you don't have another system that has the same configuration you may want to do as descarte said, and reinstall as it would take some time to get all the needed scripts back.
I do... I backed up all my VPS nodes on my server three weeks ago, the dom0 is a basic CentOS/Xen installation so very easy to rebuild .
I wonder if it would be a idea for someone to make a package called 'foolproof linux' that stops people doing crazy/stupid things like trying to delete important parts of the file system or other such bad actions, display a huge warning message about how dangerous it is. I would try it myself but I am so out of touch with programming in the past couple of years and never touched the source codes of anything related to linux yet =/.