Shutdown FreeBSD 4.2

I'm running FreeBSD 4.2 and couldn't shutdown the system. I used shutdown -p now similar to Release 8.1 but didn't work. I've also used shutdown +1 now (shutdown in 1 minute) but it only shuts the root user down.

What command should I use to shutdown?
 
I've been using the shutdown command since version 3.something. It should work.
 
Each time I use the command (shutdown -p now)

I get the below message.
"The system is halted, Press any key to re-boot."

When click something it re-boots. Its just not shutting down.
 
Had the same problem in my first attempt to shutdown FreeBSD with shutdown(),
since then I'm using init().

# init 0
or [CMD=""]sudo init 0[/CMD]

Here are the Run-levels for init.
Code:
     Run-level	  Signal     Action
     0		  SIGUSR2    Halt and turn the power off
     1		  SIGTERM    Go to single-user mode
     6		  SIGINT     Reboot the machine
     c		  SIGTSTP    Block further logins
     q		  SIGHUP     Rescan the ttys(5) file
 
andy8 said:
Each time I use the command (shutdown -p now)

I get the below message.
"The system is halted, Press any key to re-boot."

When click something it re-boots. Its just not shutting down.

See the manpage. It requires supported hardware to be able to turn off the machine. When that message is shown you can safely turn off the machine, everything has been shutdown.
 
When I used (# init 0) as specified, the system 'Goes down Immediately' and then reboots again.

This was the same effect I got when I executed [cmd=]shutdown -p now[/cmd]
 
Back
Top