[syslinux] tftpd-hpa: remap '/tftpboot/ncd4/foo' into 'ncd4/foo'

H. Peter Anvin hpa at zytor.com
Fri Jun 2 07:32:51 PDT 2006


Geert Stappers wrote:
> Hello,
> 
> I have created a remap file that looks now like this:
> 
> r tftpboot/ncd4/modshmx/login.hmx ncd4/modshmx/login.hmx
> r tftpboot/ncd4/modshmx/setup.hmx ncd4/modshmx/setup.hmx
> r tftpboot/ncd4/modshmx/term.hmx ncd4/modshmx/term.hmx
> 
> Because 
> 
> r tftpboot/ncd4/\(.*\) ncd4/\1
> 

Also, you can just do:

r tftpboot/ncd4/	ncd4/

... since the pattern doesn't have to match the whole string.

	-hpa




More information about the Syslinux mailing list