Date: Fri, 6 Jul 2001 02:24:55 -0700 (PDT) From: faisal gillani <fasi_74@yahoo.com> To: questions@FreeBSD.ORG Cc: mwm@mired.org Subject: script help thanks !!! Message-ID: <20010706092455.89995.qmail@web11001.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
well friend i am a newbie .. i wanted a script that runs in a non busy hour on my server & automatically runs fsck on my files systems .. before that turn itself into single user mode thanks for the answers everyone Faisal ----- Original Message ----- From: "Mike Meyer" <mwm@mired.org> To: "faisal gillani" <fasi_74@yahoo.com> Cc: <questions@freebsd.org> Sent: Thursday, July 05, 2001 1:47 PM Subject: Re: script 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. __________________________________________________ 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010706092455.89995.qmail>