I suspect the problem isn't the initscripts, but that the shutdown binary unconditionally removes /etc/nologin before it reboots the machine (because it might write to it)
I suspect the problem isn't the initscripts, but that the shutdown binary unconditionally removes /etc/nologin before it reboots the machine (because it might write to it)