How do I shutdown Slitaz from terminal?

4

I have Slitaz installed on my home server and the only way of interfacing with it is through and SSH connection. I have tried

shutdown -h now

But it only tells me shutdown is not a command

So I tried

init 0

Then it just sat there not doing anything? Shutdown is also not in the package manager.

How can I turn it off without resulting to the pulling of the power cord?

Jonno_FTW

Posted 2009-08-28T10:35:05.833

Reputation: 1 280

Answers

3

Use halt to stop the system.

Turn off the system or restart

To stop or restart SliTaz, you can use the halt or reboot commands or the key combination which enables a system reboot. In case of any problems you can use the -f option signifing forced:

 # halt
 To restart :
 # reboot
 Or :
 # reboot -f

user4358

Posted 2009-08-28T10:35:05.833

Reputation:

1

There's no shutdown command in SliTaz, so you'll have to use halt and family. But by default halt command doesn't do ACPI off. To get complete shut down instead of hanging on "System halted" message, you can use

poweroff

Note that using halt -p, which is normally a synonym of poweroff, won't work because BusyBox doesn't understand this option.

Ruslan

Posted 2009-08-28T10:35:05.833

Reputation: 1 168

-1

use this command

shutdown -r now

or see this : LinuxShutdown

Sajad Bahmani

Posted 2009-08-28T10:35:05.833

Reputation: 989

root@Albuquerque:~# shutdown -sh: shutdown: not found – Jonno_FTW – 2009-08-28T10:42:11.560

see link that i set – Sajad Bahmani – 2009-08-28T10:55:40.767