postfix = ''
alterationContents = getAlterationFile(filename)
if getMachineSetting('gcode_flavor') == 'UltiGCode':
+ if filename == 'end.gcode':
+ return 'M25 ;Stop reading from this point on.\n'
return ''
if filename == 'start.gcode':
if extruderCount > 1: