/Library/init accidentally deleted - 10.6.1

Discussion in 'macOS' started by jbuk, Jan 10, 2010.

  1. jbuk macrumors regular

    Joined:
    Jun 8, 2009
    #1
    In attempting to get a modestly working zsh installation, I have accidentally removed my /Library/init folder, and thus cannot start up a shell any more. If someone could upload the contents of that folder (from 10.6.1 ideally) here, that would be great.
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    I don't have a /Library/init:

    robbie-duncans-macbook-pro:~ robbie$ cd /Library/init
    -bash: cd: /Library/init: No such file or directory

    Are you 100% sure about the path?
     
  3. jbuk thread starter macrumors regular

    Joined:
    Jun 8, 2009
    #3
    Oh. Well, I partially ran the commands
    Code:
    cd /Library 
    
    sudo svn co http://zsh-templates-osx.googlecode.com/svn/trunk/Library/init 
    
    cd /private 
    
    sudo svn co http://zsh-templates-osx.googlecode.com/svn/trunk/etc 
    Before accidentally closing the terminal window mid-execute. I think the first svn checkout was in progress as a sudo was still active, so that's why I think the problem lies there.

    EDIT: Well, as is often the case with anything, a reboot did the trick. It also turned out that I had about 20 login processes running that I couldn't kill, so I think that's actually where the problem is.
     

Share This Page