On Sat, Sep 08, 2012 at 07:14:40PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > > > > > -nfsroot="/home/${global.user}/nfsroot/${global.hostname}" > > > > > + > > > > > +if [ -n "${global.dhcp.rootpath}" ]; then > > > > > + bootp=1 > > > > > + nfsroot="${global.dhcp.rootpath}" > > > > > +else > > > > > + nfsroot="/home/${global.user}/nfsroot/${global.hostname}" > > > > > +fi > > > > > + > > > > > +if [ -n "${global.dhcp.bootfile}" -o -n "${global.dhcp.oftree_file}" ]; then > > > > > + bootp=1 > > > > > + path="/mnt/dhcp" > > > > > + > > > > > + if [ -d "${path}" ]; then > > > > > + umount "${path}" > > > > > + else > > > > > + mkdir "${path}" > > > > > + fi > > > > > + mount -t tftp $eth0.serverip "${path}" > > > > > > > > That's exactly the path that's already mounted to /mnt/tftp. Why are you > > > > doing this? > > > evenif the ip is changed? > > > > The ip won't change when you drop the ifdown/ifup above. > the IP may change balance tftp ?? -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox