Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: paskali on April 29, 2012, 03:32:28 PM

Title: [SOLVED]halt command does not shutdown my pc
Post by: paskali on April 29, 2012, 03:32:28 PM
Hi all, i have a simple question:
when i try to shutdown my pc (i have an old but very nice notebook brand nec versa), i run:
sudo halt
from my not root usually account; however this command stop all things but does not shutdown the pc and wait from me to make manually turn off.
When i shutdown pc from X, it does make shuting process without issues and turn off pc by it self.

Why this difference?

Thanks!
Title: Re: halt command does not shutdown my pc
Post by: bmarkus on April 29, 2012, 03:44:13 PM
Try poweroff command.
Title: Re: halt command does not shutdown my pc
Post by: paskali on April 29, 2012, 03:57:00 PM
Try poweroff command.

It does work! Thanks! In other distros i have used always "sudo halt" or "sudo shutdown", never "sudo poweroff", i did not know that did exist :-)
Title: Re: [SOLVED]halt command does not shutdown my pc
Post by: roberts on April 29, 2012, 04:08:33 PM
We are mostly busybox. poweroff is included with busybox.
Type busybox to see all the command that are included.
Title: Re: [SOLVED]halt command does not shutdown my pc
Post by: paskali on April 29, 2012, 04:41:01 PM
We are mostly busybox. poweroff is included with busybox.
Type busybox to see all the command that are included.

Thanks! No more often i have used busybox so i did know well how it does work.

Now it is more clear.

Thanks again!