Startup script not working anymore in Yosemite: Need help!

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

  1. telemakos macrumors newbie

    Feb 27, 2014

    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:

    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

    Mar 17, 2012
  3. telemakos thread starter macrumors newbie

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

Share This Page