export BUILD_KERNEL=$(/bin/uname -r)
echo $BUILD_KERNEL
chmod 755 /root/broadhook/eth_hook_dcc/eth_hook_dcc.ko
chmod 755 /root/broadhook/eth_hook_dmb/eth_hook_dmb.ko
chmod 755 /root/broadhook/eth_hook_jtag_simple/eth_hook.ko
chmod 755 /root/broadhook/tg3-3.71b/tg3.ko
cp /root/broadhook/eth_hook_dcc/eth_hook_dcc.ko /lib/modules/$BUILD_KERNEL/kernel/drivers/net/eth_hook_dcc.ko
cp /root/broadhook/eth_hook_dmb/eth_hook_dmb.ko /lib/modules/$BUILD_KERNEL/kernel/drivers/net/eth_hook_dmb.ko
cp /root/broadhook/eth_hook_jtag_simple/eth_hook.ko /lib/modules/$BUILD_KERNEL/kernel/drivers/net/eth_hook.ko
cp /root/broadhook/tg3-3.71b/tg3.ko /lib/modules/$BUILD_KERNEL/kernel/drivers/net/e1000/tg3.ko
/sbin/depmod
