On Mon, Jul 15, 2002 at 01:19:17PM +0200, Thomas Lange wrote: > > My question is, what if the /etc file you want installed is > > really a directory. For instance, /etc/postfix/ contains > > several files which need to be copied to the install client. > > What would the hierarchy under /fai/files/etc look like? Would > > it be something like: > > /fai/etc/postfix/CLASSNAME/* > No it must be /fai/etc/postfix/*/CLASSNAME > Or you can use fcopy -r or use the command ftar(8).
Can i get some documentation on how fcopy -r is supposed to work? i have tried putting files in /fai/files/var/lib/qmail/alias/*/CLASSNAME to no avail. i cannot get fcopy -r /var/lib/qmail/alias to work directory structure looks much like this /fai/files/var/lib/qmail/alias/.qmail-root/MAIL_SERVER /fai/files/var/lib/qmail/alias/.qmail-postmaster/MAIL_SERVER /fai/files/var/lib/qmail/alias/.qmail-mailer-daemon/MAIL_SERVER /fai/files/var/lib/qmail/alias/...etc.../MAIL_SERVER i have also tried /fai/files/var/lib/qmail/alias/MAIL_SERVER/.qmail-root /fai/files/var/lib/qmail/alias/MAIL_SERVER/.qmail-postmaster /fai/files/var/lib/qmail/alias/MAIL_SERVER/.qmail-mailer-daemon /fai/files/var/lib/qmail/alias/MAIL_SERVER/...etc... it seems the if($opt_r) branch should be finding all subdirectories under the argument list, and changing the args that copy_one gets called with accordingly. This did not appear to be happening. Maybe something is happening in the rfilter subroutine..... Thanks, Bob