examples: Avoid bashism in perfcount.init.
This fixes bug #6000.
Thanks to the Debian Samba package maintainers for providing the patch!
Remove trailing whitespaces.
Karolin
(cherry picked from commit
73875cd344608b591fa884ab99b5f3a10550c149)
(cherry picked from commit
e273c07e94ee607bbf05b6fa66cf3cea13fe4502)
(cherry picked from commit
a1bf1f1819ab184682327583d05b0258db8856ef)
(cherry picked from commit
b4ffffc5c03b69ac2f8e0ed74fd7788549f7e822)
(cherry picked from commit
744c7007b4b798699613e06933f92fdf5261b222)