Detonators on railway tracks