www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

ACPI shutdown / no acpid ?

Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message

Joined: 06 Mar 2009
Posts: 27

PostPosted: Fri Mar 06, 2009 10:12 am    Post subject: ACPI shutdown / no acpid ? Reply with quote

Is there a way to tell Zeroshell to properly shut down on an acpi-powerbutton event ?
I am running it on a VirtualBox VM and sending an ACPI event would be the best way to do a clean shutdown from the hosts commandline.
I notice a "without ACPI" option on the bootloader, but it seems to me that Zeroshell actually does not do anything with ACPI and I cannot find any acpid.
Back to top
View user's profile Send private message

Joined: 12 Jul 2011
Posts: 21

PostPosted: Sun Mar 11, 2012 4:20 pm    Post subject: Reply with quote

I was hoping for ACPI functionality as well. I am worried about FS corruption of /Database during dirty shutdown. I am running ZS on an ALIX board, and on an old IBM PIII Coppermine. In both situations, to shut it down, i basically pull the plug.

I know i can go into the HTTPS Web Interface and click on "Shutdown", but most of the times i forget. Besides, the other users of the system don't have access to the HTTPS Web Interface, and it would be foolish for me to expect them to learn how to login just to shutdown. I configured their ZS as a 3G router, (they have a time limited data plan on the SIM card). As soon as they turn the machine on, ZS connects, and they turn it off to disconnect, just as they would a regular stock modem/router. If acpid would catch the power button, ZS could cleanly shut down each time.

So i guess i have these questions:

1. Is it dangerous to pull the plug on a ZS installation? What if ZS is writing logs, updating AV db, or otherwise writing on the filesystem? Will fsck always take care of eventual problems at next reboot because it's an ext3 partition?

2. How do all of you out there shut down your ZS installation?

3. Does it make sense for me to work on this, or is there a better solution to the problem?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group