Re: unattended reboot for forced filesystem checks
Blake Swadling wrote:
> Folks
>
> I have some machines here that are routinely turned off at the power
> button rather than using the correct shutdown procedure. when they are
> restarted i get the usual error "filesystem not cleanly unmounted...".
> it then checks them and prompts me to hit ctrl-d.
>
> Is there any way that I can force it to immediately reboot rather than
> prompting the user for input?
>
> Cheers
> Blake
>
Comment out
/sbin/sulogin $CONSOLE
in /etc/init.d/checkrootfs.sh (line 173 for me).
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/CM$/CS>$/CC/IT$/M/S/O/U dpu s+:++ !a C++$>C+++$
UB+++>++++$L++++$*-- P+>++$ L+++(++++)$ E-(---) W+++>$ N(+) o? K-
w--(---) O? M V? PS++@ PE-@ Y+@ PGP++(+++)>$ t? 5? X? R tv--(-)
b++(+++)@ DI? D? G e->++++ h* r? z*
------END GEEK CODE BLOCK------
David Mandelberg
mandelbergd@eth0.is-a-geek.org
Reply to: