Hi everyone,

I try to start some bash scripts from my PXE menu. I added the following to my SETTINGS.TXT on my Zen server:

tftp zen10 << !cmds!
get menu.s
quit
!cmds!
chmod +x menu.s

This works fine, the file is downloaded from the tftp and I can start it manually. But I want that file to be started automatically on a choice menu of the PXE. I added a CFG file to the pxe menu:

#====================== WARNING! ======================#
# DO NOT EDIT THIS FILE!
#
# Modifying this file is unsupported and can have
# unpredictable results on ZENworks Preboot Services
$ $PXESERVER
#================================================= =====#

ZENWORKSAPPEND 1
DEFAULT imaging
LABEL imaging
kernel boot\linux
append 5 initrd=boot\initrd mode=5 rootimage=/root install=tftp://$PXESERVER/boot splash=silent vga=0x314 tftptimeout=50 $KERNEL_PARMS IMGCMD="./menu.s"



This is not working, and I know there is a syntax error. Please, whats wrong in this file configuration?


thanks !
DM