I need to turn off device for selected period of time. I’ve found a way to do it with:
pmtool bootOn timer 120
pmtool shutdown
But, pmtool shutdown turns off device immediately, without running rcK scripts, which could lead to filesystem corruption.
I’ve tried to use poweroff, but it ignores timer.
What should I use for graceful shutdown?
I think I see what you mean, you would except basically the command shutdown and not what’s happening.
I’m gonna request some more info to the author of the feature.