Has Kelsey Grammer‘s ex-wife Camille Grammer been ordered in their divorce settlement to shut up about their painful split and calm down on “The Real Housewives of Beverly Hills”?

After hitting the jackpot in her recent divorce settlement with the “Frasier” star — and facing a custody battle for their kids — Camille has returned to the show’s second-season tapings “subdued.”

So much so that Bravo producers are finding her character — which provided a lot of the crazy entertainment in Season 1 — “really boring,” according to sources, one of whom added, “Producers have told Camille she has to start being more interesting and causing more drama.”

“Nobody knows what’s in that divorce settlement,” says a source close to the show. “But I would not be surprised if she could not discuss certain things. She’s checking what comes out of her mouth, and the producers are pushing for the cast to be as naughty and as full-on as possible.”

While Kelsey and Camille agreed on a quickie divorce so he could marry Kayte Walsh, Camille doesn’t want to lose any access to her children, so she’s refusing to act in a way on the show that could give him ammunition for a custody battle, pals say.

“She is caught in a real dilemma,” says one source. “She wants the attention. But she’s not stupid. She’s not going to throw away $50 million for some stupid show. She is not going to act crazy and allow Kelsey to use that to argue for full custody of the kids.”

Camille’s divorce drama helped propel the “Beverly Hills” finale to Bravo’s highest- rated show in the franchise. But another source added: “Camille wasn’t happy how she was edited on the first season. She wants more creative control.”

A rep for Camille said sternly, “We have never discussed Season 2, and won’t.” A Bravo rep also declined to comment.

The network has not announced the new season cast or when it will begin airing, but reports say all original members are back.