Date: Fri, 8 Apr 2005 18:10:34 +0700 From: John Meing <attackers@gmail.com> To: wizlayer@gmail.com, freebsd-questions@freebsd.org Subject: Re: install.cfg (was RE: & No Subject) Message-ID: <4f34b68f0504080410283a7d01@mail.gmail.com> In-Reply-To: <200504080655.32758.wizlayer@gmail.com> References: <4f34b68f05040704381700d67e@mail.gmail.com> <200504070805.18085.wizlayer@gmail.com> <4f34b68f050407233115bd3f27@mail.gmail.com> <200504080655.32758.wizlayer@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <wizlayer@gmail.com> 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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f34b68f0504080410283a7d01>