Startup script not working anymore in Yosemite: Need help!

Discussion in 'Mac Programming' started by telemakos, Oct 28, 2014.

  1. telemakos macrumors newbie

    Joined:
    Feb 27, 2014
    #1
    Hello!

    I had this commands in the rc.local file (OS X Mavericks) that I need to execute in order to run my bootcamp installation (Win7) from within Virtualbox. They change the permissions and unmount bootcamp as a partition:

    Code:
    sudo chmod 777 /dev/disk0s4
    diskutil unmount /dev/disk0s4
    It seems that rc.local does not work anymore in Yosemite and now I cannot start Win7 within Virtualbox without first manually executing the above commands via terminal.
    How can I automate this task at startup? I understood that "launchd" might be of help but I'm not an expert here.

    Thank you! :)
     
  2. kryten2 macrumors 6502a

    Joined:
    Mar 17, 2012
    Location:
    Belgium
  3. telemakos thread starter macrumors newbie

    Joined:
    Feb 27, 2014
    #3
    Thank you! :)
    I could finally solve the issue by using Lingon and creating 2 different plist-files.
     

Share This Page