LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   shutdown scripts? (https://www.linuxquestions.org/questions/linux-software-2/shutdown-scripts-290671/)

mushmaster 02-15-2005 05:20 PM

shutdown scripts?
 
it used to be that when i issued a command to shutdown my machine, it shutdown. all the way. power off. now, after tinkering around with a new kernel and bootsplash themes, it doesn't. if i'm not running a bootsplash, or running one in verbose mode, where i can see the messages scrolling by on the screen when i shutdown, what i see is seemingly everything i've always seen, except that the machine doesn't actually shut down. i have to actually push the power button to complete the last step. i'd rather it just turn itself off when i told it to. what's going on here?

mjrich 02-15-2005 05:23 PM

Re: shutdown scripts?
 
Quote:

it used to be that when i issued a command to shutdown my machine, it shutdown. all the way. power off. now, after tinkering around with a new kernel and bootsplash themes, it doesn't.
Sounds rather like you may have missed something useful, like ACPI (or equivalent) off of your kernel recompile...

Cheers,

mj

mushmaster 02-15-2005 05:44 PM

yeah, i'm not sure if i messed something up in the kernel or if it's the bootsplash that's doing it. i don't remember when exactly it started.

the last two lines are:

power down: hda
shutdown.

typically it shuts down here. now it doesn't though.

hda is my hard drive.

mjrich 02-15-2005 06:04 PM

Is you ACPID daemon up and running ? (check last messages in /var/log/acpid) - this is the usual way to handle power etc. under Sarge. If not, you could attempt to start it using
Code:

/etc/init.d/acpid start
- if this fails, then my guess is for the kernel.

Cheers,

mj

mushmaster 02-15-2005 06:10 PM

yep. it's the kernel. at least i'm pretty sure it is. i vaguely remember removing some kind of power management support when i was selecting options when i built it. time for another compile.

mjrich 02-15-2005 06:23 PM

Ah well, at least you didn't forget to include support for Ext2/3 filesystems, as I did a few years ago :)

Made it rather hard to reboot.

Cheers,

mj


All times are GMT -5. The time now is 10:46 PM.