main: Add support for PersistentTetheringMode configuration variable