From owner-freebsd-questions Thu Jul 5 0:36:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web11001.mail.yahoo.com (web11001.mail.yahoo.com [216.136.131.51]) by hub.freebsd.org (Postfix) with SMTP id 05FA637B401 for ; Thu, 5 Jul 2001 00:36:33 -0700 (PDT) (envelope-from fasi_74@yahoo.com) Message-ID: <20010705073632.85552.qmail@web11001.mail.yahoo.com> Received: from [203.135.48.14] by web11001.mail.yahoo.com; Thu, 05 Jul 2001 00:36:32 PDT Date: Thu, 5 Jul 2001 00:36:32 -0700 (PDT) From: faisal gillani Subject: script help ... To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hello there can any one help me in making a small script all i want is that my system runs itself in single user mode , then run fsck on / , then return to normal mode... i know the commands 1, init 1 2, fsck / 3, init 6 i am stuck in how can i give the answers to the command automatically ... is it possible ? thanks Faisal __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message