Can't shutdown system cleanly

When I try to shutdown my system using:
Code:
shutdown now

it starts to shutdown the machine and all the services but then it gets to this bit:
Code:
Enter full pathname of shell or return for /bin/sh

When I hit enter it just takes me back to the "#" prompt.

How do I get the machine to fully shutdown without stopping at the screen to hit enter for the path of the shell? This is preventing the machine from powering down when there is a power failure with my UPS.

Thank you.
 
It has to shutdown fully automated incase theres a power failure and the battery runs out on the UPS otherwise it could corrupt the file system.
 
^ Indeed. When in doubt, always check the man page.


shutdown(8):
When run without options, the shutdown utility will place the system into single user mode at the time specified.
and
-p The system is halted and the power is turned off (hardware sup-
port required) at the specified time.

-r The system is rebooted at the specified time.
 
Back
Top