FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 02-02-2008, 09:45 AM
Malte Forkel
Default Halting machine after fschk from within initscript


I have written a small utility that monitors upcoming fscks and attempts to reschedule them, so they don't happen at an unexpected or inconvenient time. Part of my scheme is an option to force the fscks to be performed after the next reboot and then reboot the system instead of just halting it. In that case, I'd like to execute the boot process just up to and including the fscks and then halt the system.

I hope that I can use an initscript to achieve this. But I'm not sure what the proper spot would be and how to prematurely terminate the boot process from within an initscript.

Any advice on whether this is feasible at all and how to do it will be greatly appreciated.

Thanks in advance,

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Thread Tools

All times are GMT. The time now is 04:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org