I'll try to use shellcmd, thanks
I think that my method is not quite good, cause I needed to sweep out some options in the kernel..
I just added the NETGRAPH_NETFLOW option to the original kernel file. Compiled it on the 6.2 FreeBSD system and changed the file kernel.gz in the m0n0 generic-pc-1.3b2 image. And I also added /fs/sbin/ngctl from my FreeBSD system and changed libraries in /usr/lib and /lib.