lkml.org 
[lkml]   [1996]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: automatic reboots


add a -y to the line in your /etc/rc.d/rc.S

----------------
# Check the integrity of all filesystems
if [ ! $READWRITE = yes ]; then
/sbin/fsck -A -a -y <-- add this -y here.
# If there was a failure, drop into single-user mode.
if [ $? -gt 1 ] ; then
etc.
etc.
etc.

sean

On Fri, 27 Dec 1996, Roel Lascano wrote:

>
> This may not be the place to ask but here it goes:
> Is there a way to force the fsck to continue without interaction after a
> re-boot? Here's the situation: I've got a machine set up as a server
> it's headless and keyboardless (and to make matters worst, it's not too
> easy to get to.) Occasionally it goes down hard (generator runs out of
> gas... a UPS could solve the problem, but weight is an issue too...)
> When it comes up (or at least tries to come up) it comes up with a fs
> problem that drops the machine into single user mode (thus no networking
> and no telnetting in to resolve it.)
>
> TIA,
> Roel
>


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.072 / U:1.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site