Quote:
Originally Posted by dr_berta
HI all,
for an application working on Ubuntu 16.04 LTS, I would like to avoid to have the automatic switch off of a panel PC after the poweroff command because I want to force a physical switch off from the mains switch.
I have two models of panel PCs: one behaves as I want (the pc goes in halt condition and the monitor remains on with a screen saying to turn off the device), while the other at the shutdown shows me the shutdown screen but after 2-3 seconds it is turned off.
Unfortunately I cannot understand where the difference between the two panel PCs lies.
Any suggestion about how to have the desired behavior?
Could it be a BIOS setting? I didn't find it.
Thanks
Claudio
|
No, it is not a BIOS setting. It will be a command in your poweroff script. Here is a link to how the shutdown, halt, and the poweroff commands work.
https://www.tecmint.com/shutdown-pow...ands-in-linux/
Instead of using the panel menu you could open a terminal and issue the shutdown or poweroff command in the form that you want.
Or you could find out where the panel keeps the commands that it issues when you click on that command in the panel menu and change the panel command to what you want. I don't use Ubuntu so I can't look up where the Ubuntu panel keeps its commands for you.