It would appear to be intended to deter animals. If it is electrified, the electrical source is not immediately apparent, but if it isn't electrified, it is guaranteed to be useless. Probably going to cause some terrible cursing if somebody need to leave the tent in the night to stumble to the bathroom. eek

People do all kind of strange things. Hard to say if this scheme was someone's personal brainstorm, or if they were the victims of an overzealous salesperson.