From owner-freebsd-questions@FreeBSD.ORG Fri Apr 8 11:10:35 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6377C16A4CE for ; Fri, 8 Apr 2005 11:10:35 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDC9F43D2D for ; Fri, 8 Apr 2005 11:10:34 +0000 (GMT) (envelope-from attackers@gmail.com) Received: by rproxy.gmail.com with SMTP id 1so502738rny for ; Fri, 08 Apr 2005 04:10:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=WXEoCzsEkzkI9LSK+ne0UAqDYAYAPZV3toWc5GmBnZMaa7r/MccQVbIsdefuwXRMug9q7aKHCalD3SnfeDUseIe0gagd/pOHno3ZJ5yePeXCYtM456g4eqSkjWYV54jJuAlsHgK9CoUihfjM1R5IDlTGM8h+OiEmUtdKYtTKD1k= Received: by 10.38.2.80 with SMTP id 80mr1170593rnb; Fri, 08 Apr 2005 04:10:34 -0700 (PDT) Received: by 10.38.8.44 with HTTP; Fri, 8 Apr 2005 04:10:34 -0700 (PDT) Message-ID: <4f34b68f0504080410283a7d01@mail.gmail.com> Date: Fri, 8 Apr 2005 18:10:34 +0700 From: John Meing To: wizlayer@gmail.com, freebsd-questions@freebsd.org In-Reply-To: <200504080655.32758.wizlayer@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <4f34b68f05040704381700d67e@mail.gmail.com> <200504070805.18085.wizlayer@gmail.com> <4f34b68f050407233115bd3f27@mail.gmail.com> <200504080655.32758.wizlayer@gmail.com> Subject: Re: install.cfg (was RE: & No Subject) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John Meing List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2005 11:10:35 -0000 Mike, Thanks alot for your suggestion, I'll try to put these lines to a shell script and try to make install.cfg run them. I'll post results soon. John Meing On Apr 8, 2005 5:55 PM, wizlayer wrote: > On Friday 08 April 2005 02:31 am, John Meing wrote: > > Mike I also tried to use only following line in install.cfg > > (without the rc.conf lines) > > > > command="passwd root" system > > > > which should not has mismatching quote errors (and I tested > > with /stand/sysinstalld and it worked) but it didn't work when > > i put it in install.cfg :(( > > > > John Meing > > > [snip] > > > Okay, but that still doesn't work for the syntax... Going > > > back to > > > > > > your original post: > > > > command="echo sendmail_enable="NONE" >> /etc/rc.conf" > > > > system > > > > > > would at best cause mismatching quote errors (which is what > > > I'm assuming you're getting?) > > > > > > Mike > > hmmm... I googled this list and found the following link (which > may wrap in email): > > http://lists.freebsd.org/pipermail/freebsd-questions/2004-January/031620.html > > I'm thinking perhaps this function through sysinstall isn't > completely implemented yet.... or.... I've just noticed there's > no mention of a shell (hmmmm)... > > Maybe something like: > > # /stand/sysinstall command="sh passwd root" system > > Even though it doesn't seem to work from the command line, I > wonder if the problem isn't something along these lines? Perhaps > putting these commands into a script and then having install.cfg > run the script instead would clear it up. > > (I'm shooting in the dark here, I know... But now I'm curious...) > > Mike >