Protect from spamming /etc/rc.conf repeatedly.

The _post functions can be run multiple times. Make sure we don't write
the same string into /etc/rc.conf more than once.