We can now just call setctty() without any problems. This means the shell running the shutdown script is now the session leader, just like on startup.
We can now just call setctty() without any problems. This means the shell running the shutdown script is now the session leader, just like on startup.