#!/bin/sh

. /lib/functions.sh

config_load tswconfig

process_port() {
	local section="$1"
	uci_remove "tswconfig" "$section" "auth_enable" 2> /dev/null
}

config_foreach process_port switch_port
uci_commit tswconfig
exit 0

