From: Jeremy Kerr Date: Wed, 10 Apr 2013 02:02:20 +0000 (+1000) Subject: pb-udhcpc: Fix generation of TFTP URLs X-Git-Tag: v1.0.0~731 X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=e3ebf4d2ebe3464257655f059ea020565a536643;hp=e3ebf4d2ebe3464257655f059ea020565a536643;ds=sidebyside pb-udhcpc: Fix generation of TFTP URLs DHCP boot-file parameters may not contain a preceeding slash. In this case, the current udhcp script will not form a correct URL. This change adds the slash unconditionally; in the case that the pathname already has a preceeding slash, the URL parser will handle this correctly. Signed-off-by: Jeremy Kerr Signed-off-by: Geoff Levand ---