#! /bin/bash

sudo cp rootfs/boot/uImage rootfs/boot/u-boot.bin rootfs/boot/mpc5121ads.dtb /tftpboot/
sudo rm /tftpboot/rootfs
sudo ln -s $PWD/rootfs /tftpboot/rootfs
sudo /etc/init.d/nfs-kernel-server restart
ls -l /tftpboot
