Re: [2.2.2] APM poweroff problem

Nils Philippsen (nils@fht-esslingen.de)
Thu, 25 Feb 1999 19:38:07 +0100 (CET)


On Thu, 25 Feb 1999, mtm@csoft.net wrote:

> Are you issuing 'halt -p' at run level 0? If you use 'halt' at any run level
> other than 0, 1, or 6 all that halt does is run 'shutdown'. Check that your
> 'halt' script in rc0.d is running 'halt -p'.

I do, it's in the halt script:

--8<--
nils@wombat:~> tail /etc/rc.d/init.d/halt
echo "Remounting remaining filesystems (if any) readonly"
mount | awk '/ext2/ { print $3 }' | while read line; do
mount -n -o ro,remount $line
done

# Now halt or reboot.
echo "$message"
[ -f /fastboot ] && echo "On the next boot fsck will be skipped."
eval $command -d -p
--8<--

where $command is either halt or reboot

>
> Hope this helps.
>

Sadly not.

Nils

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nils Philippsen                  @college: nils@fht-esslingen.de
Vogelsangstrasse 115             @home:    nils@wombat.dialup.fht-esslingen.de
D 70197 Stuttgart                phone:    +49-711-6599405
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lottery: a tax on people who are bad at math.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/