In an effort to shut down the httpd server, I was going to execute this command:
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
Instead this was executed:
sudo launchctl unload -w /System/Library/LaunchDaemons
The result was that my MacBook just stopped completely and can’t boot. Is it possible to revert it with the following command?
sudo launchctl load -w /System/Library/LaunchDaemons/
But I don’t know what was on and off.
So I need help. How do I restore it? I tried to alt-boot, got into Mountain Lion's recovery options and reinstalled the system, but with the same result. Is the terminal in the recovery tool to any help?
Is this setting saved in a file I can restore from Time Machine?