>>>>> On Fri, 15 Feb 2002 11:10:13 -0800, "Bruce Edge" <[EMAIL PROTECTED]>
>said:
> One more for you. Some packages need to have their setup
> scripts diverted to stop prompting during the install, sendmail,
> wu-ftpd, gpm, etc. I modified /usr/share/fai/subroutines to add
> the diversions at the start of task_instsoft, then I had to
> remove the diversions at the end of task_instsoft, eg:
> task_instsoft() {
> mkdivert /usr/sbin/sendmailconfig
> mkdivert /usr/sbin/addftpuser
> mkdivert /usr/sbin/gpmconfig
Use hooks for this.
--
Gruss Thomas