smeserver-unifi/root/etc/e-smith/db/configuration/migrate/unifi

7 lines
219 B
Plaintext

{
my $unifi = $DB->get('unifi') || $DB->new_record("unifi",{type=>'service'});
$unifi->delete_prop('TCPPort') if ( defined( $unifi->prop('TCPPort') ) and $unifi->prop('TCPPort') eq "8080,8443,8880,8843");
}