#!/bin/sh
TFTPBOOT="/var/lib/tftpboot"
cd "$TFTPBOOT"/pxelinux.cfg || exit
while read mac options; do
 echo $mac $options
 sed "s|\(append\)|\1 $options|" default > 01-$(echo $mac|sed 's/:/-/g'|tr A-Z a-z)
done <<EOT
00:AA:BB:CC:DD:EE gl2benchmark=sceneselect:3,framed,framewidth:640,frameheight:480
EOT
