The officially official Devuan Forum!

You are not logged in.

#1 Yesterday 15:49:19

josh.viklef
Member
Registered: Yesterday
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 (Yesterday 15:50:37)

Offline

#2 Yesterday 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 Today 13:19:09

josh.viklef
Member
Registered: Yesterday
Posts: 2  

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

sudo halt -p
works.

Thanks.

Offline

#4 Today 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

Board footer