fai change

Thomas Lange lange at informatik.Uni-Koeln.DE
Sat Feb 16 00:12:37 CET 2002

>>>>> On Fri, 15 Feb 2002 11:10:13 -0800, "Bruce  Edge" <bedge at troikanetworks.com> 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

More information about the linux-fai mailing list