The officially official Devuan Forum!

You are not logged in.

#1 2025-11-08 15:49:19

josh.viklef
Member
Registered: 2025-11-08
Posts: 2  

[SOLVED] Excalibur 6 - cannot shut down from terminal

If I shut down from terminal (command sudo halt), it only halt the system, not shut down, ie LEDs remain lit.

How to shut down the laptop from terminal? Hardware button is working, shut down from desktop environment is working, but terminal command not.

Devuan 5 is ok.

Last edited by josh.viklef (2025-11-08 15:50:37)

Offline

#2 2025-11-08 17:17:07

chris2be8
Member
Registered: 2018-08-11
Posts: 353  

Re: [SOLVED] Excalibur 6 - cannot shut down from terminal

Try sudo shutdown -h now
And man shutdown for details.

NB. man halt lists shutdown in the "See also" section. And look at the -p option.

Offline

#3 2025-11-09 13:19:09

josh.viklef
Member
Registered: 2025-11-08
Posts: 2  

Re: [SOLVED] Excalibur 6 - cannot shut down from terminal

sudo halt -p
works.

Thanks.

Offline

#4 2025-11-09 17:28:58

chris2be8
Member
Registered: 2018-08-11
Posts: 353  

Re: [SOLVED] Excalibur 6 - cannot shut down from terminal

After a bit of investigation I found /etc/default/halt tells halt what to do by default. That may be why it's behaviour has changed.

Found by whereis halt which said halt has *two* man pages, 1 in section 8 and 1 in section 5. man halt shows the 1 in section 8. man 5 halt mentions /etc/default/halt which is what you really wanted to know about.

Offline

#5 Yesterday 10:30:31

stultumanto
Member
Registered: 2023-12-12
Posts: 95  

Re: [SOLVED] Excalibur 6 - cannot shut down from terminal

I remember being confused by halt very early on and switching to shutdown --poweroff now and eventually just poweroff. (Confusingly, according to the manual, shutdown --halt -h or shutdown -H -h will not power down!)

Offline

Board footer