Date: Thu, 5 Jul 2001 15:47:45 -0500 From: Mike Meyer <mwm@mired.org> To: faisal gillani <fasi_74@yahoo.com> Cc: questions@freebsd.org Subject: Re: script help ... Message-ID: <15172.53873.183658.68976@guru.mired.org> In-Reply-To: <32368534@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
faisal gillani <fasi_74@yahoo.com> types: > 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 ? Not in a single script. Shutting down to single user mode requires killing the script, so you have to stop. If you could tell us what you're trying to accomplish, we might be able to help with that. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15172.53873.183658.68976>