Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
It also works on Sonoma 14.7.6 too. I suspect it's because my MBA's firmware was upgraded (to Sequoia) and then I downgraded the OS.
 
Mutton Jeff, just to say thanks for posting that. I did know there was such a script but had been unable to find a reliable source.
I only wanted the boot at opening the lid in my case for customs checks and accidental opening. The Terminal script for that works like a charm for my M1 on Sequoia.
 
Well then, I suspect I'm the last one to know but this is now FIXED


Takes you to "Prevent a Mac laptop from turning on when opening its lid or connecting to a power source" Google that if you don't trust the url.

You have be using using macOS Sequoia or later
  • Type one of these commands in Terminal, then press Return:
    • To prevent startup when opening the lid or connecting to a power source: sudo nvram BootPreference=%00
    • To prevent startup only when opening the lid: sudo nvram BootPreference=%01
    • To prevent startup only when connecting to a power source: sudo nvram BootPreference=%02

Sorry if everyone knew this but well, I had to tell *someone*

Cheers
C
Shame the key presses are still there, but one step forward I guess…
 
  • Like
Reactions: Technerd108
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.