644 374 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
use strict;
use libdb;

sub DoUpdate($$$)
{
    my ($dbhandle, $dbname, $version) = @_;

    my $svar = 'cnetwatch/reportlog';
    
    DBQueryFatal("INSERT INTO `sitevariables` VALUES ".
		 "('$svar',NULL,'',".
		 "'Full path of logfile for periodic port counts of all nodes.',0)")
	if (!TBSiteVarExists($svar));

    return 0;
}

1;

# Local Variables:
# mode:perl
# End: