[syslinux] syntax of tftpd mapfile

H. Peter Anvin hpa at zytor.com
Thu Apr 3 11:25:41 PST 2003


Andreas Schulze wrote:
> Hello,
> 
> I want to use tftpd rewrite feature to sort configs from different systems
> to subdirs named by the system-ip and (perheps) by date.
> 
> the system (cisco pix) issues 'wr net: /config'
> this should be rewritten to /10.0.0.1/config or better /10.0.0.1/20020403-1448 
> 
> Is this possible?
> Thanks for any hints.
> 

r	^/config	/\i/config

... or, if you want to change *any* filename starting with / to this form:

r	^/		/\i/

	-hpa




More information about the Syslinux mailing list