Making 'KillModule FvwmBanner' work!

Ok I have seen examples where people are trying to have FvwmBanner start at startup and stop when the loading (Init) of programs are finished.

It seems trying to use ‘KillModule FvwmBanner’ doesn’t work. But here is a work around…

DestroyFunc StartFunction
AddToFunc   StartFunction
+ I Module FvwmBanner   # First command in StartFunction
+ .
+ .
+ .
+ I Test (Restart) Exec exec kill $(pidof FvwmBanner)   # Last command in StartFunction

DestroyFunc InitFunction
AddToFunc   InitFunction
+ .
+ .
+ .
+ I Exec exec kill $(pidof FvwmBanner)   # Last command in InitFunction

Works nicely for me. Took a long time to find, though.