1.7 C
Paris
Thursday, November 21, 2024

sonoma – Simulating a grimy shutdown appears now not attainable on macOS 14.4 and later


In macOS 14.0 and earlier, the shutdown command had a -u choice for dealing with UPS-initiated emergency shutdowns. From the person web page of shutdown on an previous Mac:

 -u     The system is halted up till the purpose of eradicating system energy,
        however waits earlier than eradicating energy for five minutes in order that an exterior
        UPS (uninterruptible energy provide) can forcibly take away energy.  This
        simulates a grimy shutdown to allow a later computerized energy on. OS
        X makes use of this mode robotically with supported UPSs in emergency
        shutdowns.

On macOS 14.4 and later, this feature was eliminated. In reality, Apple publishes the supply code of the shutdown utility on GitHub, and commit 49dcc07 (“14.4”) successfully removes all code that handles the -u choice.

Positive sufficient, by shutting down a machine working macOS 14.4 or later with command shutdown -uh now, the next message is printed to the console:

shutdown: -u has no impact

Anecdotally, I can say that I simulated an influence loss on my UPS till my Mac mini (working macOS 15.1) robotically shut down. I waited for the UPS to utterly run out of battery and, after I plugged it again in, the Mac mini did not restart, even when the “Begin up robotically after an influence failure” choice is enabled in Settings.

If my expertise is confirmed, it implies that Apple didn’t simply take away the choice to manually simulate a grimy shutdown, however they eliminated the characteristic completely, even within the case of precise UPS-initiated shutdowns.

How can we set off a grimy shutdown on macOS 14.4 or later?

As of now, it appears to be like like there is no such thing as a approach of robotically restarting a desktop Mac after an emergency shutdown.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles

error: Content is protected !!