Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2001 16:33:39 -0800
From:      Jordan Hubbard <jkh@winston.osd.bsdi.com>
To:        floral@care4free.net
Cc:        freebsd-config@FreeBSD.ORG
Subject:   Re: 'system' function in install.cfg 
Message-ID:  <99084.982370019@winston.osd.bsdi.com>
In-Reply-To: Message from floral@care4free.net  of "Fri, 16 Feb 2001 23:31:04 GMT." <OFD980B680.27DE5F72-ON802569F5.007ED7E5@amnesty.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

> However, I want to execute a small script before restarting the system .
> I am using the "system" function in install.cfg. For testing purposes I 
> was trying to launch a shell with it.
> 
> [...]
> installCommit
> system /bin/sh
> shutdown

There's no argument passing supported with install.cfg (I know, yuck)
which is why everything is done through the variable space.  The
system command takes the string to execute in the "command" variable.

- Jordan


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-config" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99084.982370019>