cleanup in syslinux hook