Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can't save change to plist file in terminal after El Capitan upgrade

Hi there,


After upgrading to El Capitan I can't save the changes I require using the following command in terminal:


sudo pico /Library/Preferences/SystemConfiguration/com.apple.Boot.plist


I can make the change, but when I press ctrl + O and then enter I get an error when trying to save the change to the same file name. This worked fine in Yosemite.

Does it seem like a permissions issue and does anyone have any ideas please?

MacBook Pro with Retina display, OS X El Capitan (10.11)

Posted on Oct 7, 2015 1:04 PM

Reply
6 replies

Oct 8, 2015 12:02 AM in response to Linc Davis

I'm trying to achieve Wake On Lan where the macbook stays awake by inserting 'darkwake=8' as below:


Mac Pro sleeps after being woken up by WOL

I used the pico editor in Terminal.

Copy and paste the following in a Terminal window:

sudo pico /Library/Preferences/SystemConfiguration/com.apple.Boot.plist

Enter your admin password and press enter.

Using the arrow keys on your keyboard, position the cursor between "<string>" and "</string>" under "Kernel Flags" and type "darkwake=8" without quotes.

Press CTRL + O to commit changes and press enter.

Press CTRL + X to exit.

Reboot and you're good to go.

Also darkwake=8 works flawlessy with WOL and normal sleep settings. Your screen will now turn on after waking with packets.


This worked fine under Yosemite, I'd like to understand why I can no longer modify the plist file under EL Capitan. What's changed? If it's not a good idea to modify the plist file, is there another way of achieving the above. The upgrade to EL Capitan has changed the plist file back to how it was originally.

Can't save change to plist file in terminal after El Capitan upgrade

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.