Re: 'system' function in install.cfg

[ Available lists | Index of freebsd-config | Month of Feb 2001 | Week of 16 Feb 2001 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Jordan Hubbard <jkh@winston.osd.bsdi.com>
Date
16 Feb 2001 16:33:59
Subject
Re: 'system' function in install.cfg
Message-ID
99084.982370019@winston.osd.bsdi.com


[ Hide this part ]
> 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


Elapsed time: 0.063 seconds