Message ID | 1477507905-85518-1-git-send-email-konrad.wilk@oracle.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Konrad Rzeszutek Wilk writes ("[PATCH] standalone-reset: Check for TftpPxeDir"): > While patch: "README: Mention the / requirement in Tftp[Dir|Tmp]Dir" > we should also double-check that the directory actually exists. > > Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
On Wed, Oct 26, 2016 at 04:48:33PM +0100, Ian Jackson wrote: > Konrad Rzeszutek Wilk writes ("[PATCH] standalone-reset: Check for TftpPxeDir"): > > While patch: "README: Mention the / requirement in Tftp[Dir|Tmp]Dir" Garh s/[Dir/[Pxe now that you fixed that up. Sorry for that! > > we should also double-check that the directory actually exists. > > > > Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> > > Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
diff --git a/standalone-reset b/standalone-reset index c587e60..69a3226 100755 --- a/standalone-reset +++ b/standalone-reset @@ -101,6 +101,9 @@ else tftptmp=`getconfig TftpTmpDir` ensure_dir "$tftp$tftptmp" + tftpconfig=`getconfig TftpPxeDir` + ensure_dir "$tftp$tftpconfig" + dibase=`getconfig TftpDiBase` suite=`getconfig DebianSuite` diver=`getconfig_TftpDiVersion_suite $suite`
While patch: "README: Mention the / requirement in Tftp[Dir|Tmp]Dir" we should also double-check that the directory actually exists. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> --- standalone-reset | 3 +++ 1 file changed, 3 insertions(+)