index 333d930509d8c069fc433c3d8c4dfde7bea82628..bd0115e1bcdf69fcbf1881bb9cf1fa08728f86b0 100755 (executable)
print $answer."\n";
}
+$db_name = "/var/lib/gosa-si/fai.db";
+if (-e $db_name) {
+ print "\n############################################################\n";
+ my $table_name = "fai_server";
+ print "$db_name\n";
+ print "$table_name\n";
+
+ my $sqlite = GOSA::DBsqlite->new($db_name);
+ my $col_names = $sqlite->get_table_columns($table_name);
+ print join(', ', @{ $col_names } )."\n" ;
+ my $answer = $sqlite->show_table($table_name);
+ print $answer."\n";
+}
print "\nFINISH\n";