The Food and Drug Administration has approved a generic drug for epilepsy made by Acella Pharmaceuticals, the company said Wednesday.